We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Getting the error:
Disallowed alias '@@3308e66eced24f113896497e3a487e8f6cf810ba'
when accessing a very long field name.
Error seems to be on line 189...190 of QueryBuilder.js
QueryBuilder.js
I see the regex is /^@*[_A-Za-z][_0-9A-Za-z]*$/ which disallows numerals as the initial character after optional @ characters. I would suggest one of:
/^@*[_A-Za-z][_0-9A-Za-z]*$/
@
makeNewBuild.js
return `@@_${hashFieldAlias(alias)}`;
(added an underscore after the two @ symbols)
hashFieldAlias
I know I was one of the test cases for this. Sorry I didn't catch it sooner!
The text was updated successfully, but these errors were encountered:
Huh! Good catch!
Sorry, something went wrong.
fix(graphql): handle all long aliases (#272)
92d82da
Fixes #268; previously only long aliases whose sha1sum began with a letter passed 😳
Fix typo (graphile#268)
a95ded1
No branches or pull requests
Getting the error:
when accessing a very long field name.
Error seems to be on line 189...190 of
QueryBuilder.js
I see the regex is
/^@*[_A-Za-z][_0-9A-Za-z]*$/
which disallows numerals as the initial character after optional@
characters. I would suggest one of:makeNewBuild.js
line 90 to something like this:(added an underscore after the two @ symbols)
hashFieldAlias
inmakeNewBuild.js
to prepend a letter or underscore or letter to the generated hash it stores.I know I was one of the test cases for this. Sorry I didn't catch it sooner!
The text was updated successfully, but these errors were encountered: