Skip to content
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

[sprout] Add warning/@OptIn option for sprout-generated interfaces #1405

Closed
alancai98 opened this issue Mar 28, 2024 · 0 comments · Fixed by #1413
Closed

[sprout] Add warning/@OptIn option for sprout-generated interfaces #1405

alancai98 opened this issue Mar 28, 2024 · 0 comments · Fixed by #1413

Comments

@alancai98
Copy link
Member

Add an option to add an @OptIn and/or warning for directly implementing a scribe-generated interface. We can create a warning similar to IonJava's interface for IonReader.

For context, adding additional functions to an interface (e.g. adding a plan node) is a breaking change. Our goal here is to allow for adding new nodes to the ast or plan without causing a breaking change.

Additional Context

  • Java version: 11
  • PartiQL version: 0.14.5-SNAPSHOT
  • Add any other context about the problem here.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
1 participant