-
Notifications
You must be signed in to change notification settings - Fork 2
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
Pass scalac flags to the endpoint #48
Comments
@raulraja I've created a PR #49 that adds the ability to send scalac's flag to the endpoint but I've observed that some of the available flags cause an, initially, unexpected response. As an example: For this request (with an already existing path):
I get a response like:
Although the compiler has done his job right, according to the How should we proceed here? Do we have to control this kind of responses caused by the different flags available? |
Can we restrict the passed flags to a subset? Only retain from the request those that we need or want to explicitly support in this round then we can evaluate down the road if we want to open this across the board for all flags. Obviously some of the compiler flags can even have security concerns and I think if we just allow a few for now it'd be better. |
The text was updated successfully, but these errors were encountered: