Ash FrameworkAF
Ash Framework3y ago
14 replies
drumusician

Cannot return null for non-nullable field

Hi Guys,

I have an attribute in a resource that is a jsonb object in postgres and am defaulting it to an empty object in the db and also want to return it as an emoty object in GraphQL. However it seems to be returning null if the the object is empty...

Is this something AshGraphQL is doing under the hood?
Was this page helpful?