At a glance
- Project
- GraphQL Spec
- Identifier
- #849
- Stage
- RFC 3 / Accepted
- Champion
- @leebyron
- Updated
- 2022-06-03
- Latest activity
- Pull request merged on
- Source
- Pull request
Pull request description
This spec text implements #687 (full context and details there) and also introduces a new escape sequence.
Three distinct changes:
- Change SourceCharacter to allow points above 0xFFFF, now to 0x10FFFF.
- Allow surrogate pairs within StringValue. This handles illegal pairs with a parse error.
- Introduce new syntax for full range code point EscapedUnicode. This syntax (
\u{1F37A}) has been adopted by many other languages and I propose GraphQL adopt it as well.
(As a bonus, this removes the last instance of a regex in the lexer grammar!)
Reference implementation https://github.com/graphql/graphql-js/pull/3117
Closes #687 Closes #214
Timeline
June 2022
- Pull request merged on by leebyron
- @leebyron committed "Editorial" on
July 2021
- Advanced to RFC 3 on by leebyron
- Discussed in GraphQL WG
June 2021
- Advanced to RFC 2 on by leebyron
- Discussed in GraphQL WG
May 2021
- Top comment edited on by leebyron
- @leebyron committed "Revised RFC after feedback" on
- Top comment edited on by leebyron
- Discussed in GraphQL WG
April 2021
- Marked as Ready for Next Stage on by leebyron
- Top comment edited on by leebyron
- Pull request created on by leebyron
- @leebyron committed "RFC: Allow full unicode range" on
- Advanced to RFC 1 on by leebyron