Skip to content
This repository has been archived by the owner on Jun 29, 2023. It is now read-only.

feat: fix serialization of enum args for graphql #34

Merged
merged 1 commit into from
Mar 14, 2023
Merged

feat: fix serialization of enum args for graphql #34

merged 1 commit into from
Mar 14, 2023

Conversation

kjuulh
Copy link
Owner

@kjuulh kjuulh commented Mar 14, 2023

Enum values are via. serde_json serialized as "" whereas graphql wants those values as . As such a separate function has been put in place for enums, which unwraps the quotes afterwards. I am probably at some point gonna move the whole graphql serialization to a native graphql lib, for now we are using a mix between a hand rolled query formatter and serde_json

Fixes: #33

@kjuulh kjuulh enabled auto-merge (squash) March 14, 2023 13:51
@kjuulh kjuulh merged commit 8fd6bb9 into main Mar 14, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

with_exposed_port_opts invalid type
1 participant