ariadne
ariadne copied to clipboard
Expose Source text
Use Case
Please correct if there's a less dumb way of doing this!
I'm using a custom Cache
implementation, and would like to maintain a single Id
--> Source
map. This doesn't work today because there's no way for non-Ariadne consumers like a parser to access Source::text
. Exposing it makes Source
immediately useful for non-Ariadne applications.