Open alloy opened 3 years ago
I see two possible approaches to this. One is handling AST as an async chunk that is either loaded manually by the user or automatically when info
is used. Another is to limit what you can have in info object - possibly we can say that you can't directly access AST (or schema) when using this framework.
Some field resolvers need the AST in order to execute. Always inlining all the AST for each field will presumably get expensive in terms of bundle size n(needs verification). Possible solutions: