Ash FrameworkAF
Ash Framework3y ago
34 replies
Blibs

atom attribute called status creates errors with latest ash_graphql

I just updated ash_graphql version to 0.25.4 and after doing that I get an error when compiling the project.

Seems like the problem is related to this attribute I have in my Offer resource:

    attribute :status, :atom do
      allow_nil? false

      constraints one_of: [:submitted, :denied, :withdrawn, :evaluating, :accepted, :done, :old]

      default :submitted
    end


The strange thing is that if I change the attribute name to something else like status2 the error goes away, it only happens if the attribute name is
status
.
Was this page helpful?