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

Support both annotation JSON string and file path #15

Merged
merged 4 commits into from
Jul 19, 2022

Conversation

LupulescuAlexandru
Copy link
Contributor

Having only the option to pass the annotation file is quite inconvenient and you can't really have dynamic content. This PR solves this issue by allowing PAS v1 JSON strings directly from the JS side.

@alpha0010 alpha0010 self-assigned this Jul 13, 2022
@alpha0010
Copy link
Owner

Hello. Thanks for this PR. Wondering what you think of using something like annotation and annotationStr, instead of annotation and annotationPath? That way we avoid a breaking API change.

@LupulescuAlexandru
Copy link
Contributor Author

Sure.

@alpha0010 alpha0010 merged commit 95c79a3 into alpha0010:master Jul 19, 2022
@alpha0010
Copy link
Owner

Live in v2.2.0.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants