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

Field decorator parsing rework #118

Merged
merged 5 commits into from
Jun 17, 2023
Merged

Conversation

snowsignal
Copy link
Contributor

Needed for #22.

Parsing for typeshare(<lang>(<decorator>)) only supports word decorators like readonly currently. This PR reworks how we parse field decorators to support name-value decorators too, like typeshare(swift(type = "String")).

core/src/parser.rs Outdated Show resolved Hide resolved
core/src/parser.rs Outdated Show resolved Hide resolved
core/src/parser.rs Outdated Show resolved Hide resolved
@snowsignal snowsignal requested a review from Lucretiel May 26, 2023 00:21
@Lucretiel Lucretiel merged commit d7b37bf into main Jun 17, 2023
6 checks passed
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