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

adding support for the id scalar constrained as a string #205

Merged
merged 4 commits into from
Jan 10, 2024

Conversation

mrcarolin
Copy link
Contributor

this will allow custom format on the ID scalar.

export declare const GraphQLString: GraphQLScalarType<string, string>; export declare const GraphQLID: GraphQLScalarType<string, string>;

@confuser
Copy link
Owner

Thanks @mrcarolin for this. Can you add some test cases?

@coveralls
Copy link

coveralls commented Oct 19, 2023

Pull Request Test Coverage Report for Build 7268837238

  • 0 of 0 changed or added relevant lines in 0 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage increased (+0.03%) to 94.913%

Totals Coverage Status
Change from base Build 6874558680: 0.03%
Covered Lines: 358
Relevant Lines: 367

💛 - Coveralls

@mrcarolin
Copy link
Contributor Author

ok will do, ty

@mrcarolin
Copy link
Contributor Author

@confuser updated with a couple tests showing how ID is treated just like string now

@confuser confuser merged commit 558c087 into confuser:master Jan 10, 2024
5 checks passed
@kal4l
Copy link

kal4l commented Jan 15, 2024

@confuser Thank you for merging - if possible could a new release be created with this change?

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