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

Better Support for Self-closing (empty) fields #28

Open
aminya opened this issue Nov 4, 2019 · 0 comments
Open

Better Support for Self-closing (empty) fields #28

aminya opened this issue Nov 4, 2019 · 0 comments
Labels
enhancement New feature or request

Comments

@aminya
Copy link
Owner

aminya commented Nov 4, 2019

Now to define a self-closing field you should define a separate type. It would be nice if we can just specify its self-closing in the parent type definition.

 @aml mutable struct Scoreinstrument "score-instrument"
    name::String, "instrument-name"
    ensemble::UN{Int64} = nothing, sc"ensemble", positive
    solo::UN{Int64} = nothing, sc"solo", positive
end
@aminya aminya added the enhancement New feature or request label Nov 4, 2019
@aminya aminya changed the title Support for Self-closing (empty) fields Better Support for Self-closing (empty) fields Nov 5, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant