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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Set type for computed attributes #97

Open
dlecocq opened this issue Mar 18, 2024 · 0 comments
Open

Set type for computed attributes #97

dlecocq opened this issue Mar 18, 2024 · 0 comments

Comments

@dlecocq
Copy link

dlecocq commented Mar 18, 2024

Dealing with a 馃う API, some endpoints seem to require that for some queries, the id be an Integer, but for others, a String. I know that for providing our own mutation variables, it's possible to make explicit whether we want a string or int (like "\"123\""), but it seems there's no way to do that for a computed variable. Any thoughts on how that could be accomplished? I keep getting back an id of "123", but when providing it to the endpoint, it gets recognized as JSON and converted to 123.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant