Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

test: add failing test for an aggregate of a calculation #92

Merged
merged 1 commit into from
Aug 30, 2023

Commits on Aug 29, 2023

  1. test: add failing test for an aggregate of a calculation

    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
    ahey committed Aug 29, 2023
    Configuration menu
    Copy the full SHA
    fa53947 View commit details
    Browse the repository at this point in the history