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’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Int as_i32 feature for backward compliant GraphQL spec compliance #65

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

ittorchbearer
Copy link

added as_i32 backward-compatible feature flag to allow running to GraphQL spec here: https://graphql.org/learn/schema/#scalar-types

impl Number {
#[cfg(not(feature = "as_i32"))]
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Feature flags should be additive. We can still provide as_i64 even with an i32 because that has an impl Into.

@ittorchbearer
Copy link
Author

ittorchbearer commented Apr 28, 2022 via email

@mathstuf
Copy link
Contributor

FWIW, a CI job that runs with the feature flag would also likely be appreciated.

@jhult
Copy link

jhult commented Jun 13, 2024

@ittorchbearer or @mathstuf, any update on this?

@mathstuf
Copy link
Contributor

Waiting on updates from the author AFAIK.

Copy link
Member

@LegNeato LegNeato left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Waiting on author changes

@LegNeato
Copy link
Member

(@ittorchbearer FYI)

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

Successfully merging this pull request may close these issues.

4 participants