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

Allow to mark field as optional #862

Open
fperrad opened this issue Nov 27, 2024 · 1 comment
Open

Allow to mark field as optional #862

fperrad opened this issue Nov 27, 2024 · 1 comment

Comments

@fperrad
Copy link
Contributor

fperrad commented Nov 27, 2024

this avoids comments like required or optional.

just a modification of the parser, no additional checks, same code generation.

local record Foo
   bar: string          -- required
   baz?: string         -- optional
end
@fperrad
Copy link
Contributor Author

fperrad commented Nov 30, 2024

In fact, the check coming with the annotation <total> needs some update.

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

No branches or pull requests

1 participant