elm-graphql icon indicating copy to clipboard operation
elm-graphql copied to clipboard

IDs must not contain spaces

Open ad-si opened this issue 3 years ago • 1 comments

According to the GraphQL spec IDs must not contain spaces. So I think the toJson function should actually be toJson : Request a b -> Result Error Value so that GraphQl.field "field with space" would cause an error.

ad-si avatar Oct 03 '22 18:10 ad-si

I'm no more working on Elm in my daily life, I can try to add it to the library, but this will take some time.

On the change, I agree it would be better. I'll see to implement it.

ghivert avatar Oct 06 '22 08:10 ghivert