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

Ensure that IDs are always treated as case-sensitive strings #298

Open
mike-marcacci opened this issue Oct 16, 2020 · 0 comments
Open

Ensure that IDs are always treated as case-sensitive strings #298

mike-marcacci opened this issue Oct 16, 2020 · 0 comments

Comments

@mike-marcacci
Copy link
Member

It has occurred to me that the postgres UUID type may accept a variety of formats and case conventions, which get decoded to the same bytes. The guarantee that our GraphQL ID type makes is that it is an "opaque string". Therefore, it should not be possible to reference the same entity more than one way.

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

No branches or pull requests

1 participant