graphql-python / graphql-python/graphql-core-legacy
Lex comments
- Lingua principale
- Python
- Stelle
- 372
- Fork
- 175
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Descrizione
Right now graphql-core in the lex pass completely omits comments. If you want to consume the content of comments in tooling, you are out of the luck.
Python graphql shoudl mimic graphql-js and do this. Lee Byron did this here https://github.com/graphql/graphql-js/commit/165b9d3a0b913d792501b0ce2829ad417d83122d by making the stream of lex tokens a doubly-linked list so you can "peek" backwards and inspect the contents of comments.
I'll submit a pull request at some point to do this but if someone feels like doing it go nuts!
Guida per i contributori
Nessuna guida per i contributori indicizzata per questo repository
Valutazione
Questa issue non è ancora stata valutata.