ash_graphql/test/support/resources
Alan Heywood 0c869aa522
test: add failing test for an aggregate of a calculation (#92)
An error occurs at compile time:

== Compilation error in file test/support/schema.ex ==
** (MatchError) no match of right hand side value: {:error, "Must provide field type for max"}
    lib/resource/resource.ex:2278: AshGraphql.Resource.filterable?/2
    (elixir 1.15.4) lib/enum.ex:4265: Enum.filter_list/2
    (elixir 1.15.4) lib/enum.ex:4266: Enum.filter_list/2
    lib/resource/resource.ex:2229: AshGraphql.Resource.aggregate_filter_fields/2
    lib/resource/resource.ex:2195: AshGraphql.Resource.resource_filter_fields/2
    lib/resource/resource.ex:1159: AshGraphql.Resource.args/5
    lib/resource/resource.ex:425: anonymous fn/6 in AshGraphql.Resource.queries/5
    (elixir 1.15.4) lib/enum.ex:1693: Enum."-map/2-lists^map/1-1-"/2
2023-08-29 21:30:06 -04:00
..
comment.ex test: add failing test for an aggregate of a calculation (#92) 2023-08-29 21:30:06 -04:00
composite_primary_key.ex fix: update to latest ash, fix transformer, get tests working 2022-05-17 12:30:19 -04:00
composite_primary_key_not_encoded.ex improvement: support encode_primary_key? false, and set single managed relationship primary keys do :id type when its true 2022-10-12 19:02:04 -04:00
constrained_map.ex feat: create types for maps with constraints (#68) 2023-05-15 09:39:32 -04:00
double_rel_embed.ex
double_rel_recursive.ex improvement: support latest ash 2022-09-14 12:46:12 -04:00
double_rel_recursive_to_embed.ex improvement: supply arguments to relationships on loading 2023-03-17 14:56:06 -04:00
double_rel_type.ex
embed.ex
map_types.ex fix: wrap type in non-null reference if allow_nil? is set to false (#90) 2023-08-22 14:43:27 -04:00
multitenant_post_tag.ex improvement: support latest ash 2022-09-14 12:46:12 -04:00
multitenant_tag.ex update to latest ash 2022-08-30 19:08:16 -06:00
nested_embed.ex
nested_enum.ex
no_object.ex
non_id_primary_key.ex fix: update to latest ash, fix transformer, get tests working 2022-05-17 12:30:19 -04:00
post.ex test: add failing test for an aggregate of a calculation (#92) 2023-08-29 21:30:06 -04:00
post_tag.ex improvement: support latest ash 2022-09-14 12:46:12 -04:00
relay_post_tag.ex improvement: Implement GraphQL Relay support (#36) 2022-09-20 23:07:30 -04:00
relay_tag.ex improvement: validate that relay? queries use keyset?: true actions 2022-10-21 07:38:33 -04:00
sponsored_comment.ex test: add new calculate union tests with real resources (#77) 2023-06-15 10:36:20 -04:00
tag.ex update to latest ash 2022-08-30 19:08:16 -06:00
user.ex test: update field policy test (#83) 2023-07-13 08:46:26 -04:00