-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
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
[GSP-3] We need to have access to the AST in the wasm parser #20
Comments
I also suggested @brunocalza an alternate idea to avoid dealing with potential technical problems of AST communication in the WASM parser. We can simply allow the WASM parser to have high-level functions to do whatever thask the client is trying to achieve, for example:
Potential drawbacks:
The main benefits are:
To be clear, I'm not suggesting that we should use high-level APIs, but sounds it can avoid a lot of complexity for the clients and have some other benefits about breaking changes. I'm not following much the need for this, so up to the interested parties. Just throwing an idea here. |
Yes I think this approach is acceptable. The benefit of allowing access to the AST from clients is that it opens up potential usage that we haven't thought of yet... Having said this, I did take a step down the proposed road here with the "type" property that gets returned with the normalize function in the WASM wrapper, so I don't think size is an issue at all here. Long story short: this seems like a reasonable course of action. |
Looking though some old issues, and I'm wondering if we can mark this as complete? |
Yeh we kind of decided we don't want to provide full access to the raw AST. So I think we can close. It would be nice/useful, but not worth the effort at this stage. |
Allow the client to get access to the AST for a query, probably to solve use-cases for the new ACL features.
GSP-3
The text was updated successfully, but these errors were encountered: