We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Glossarist uses enum methods, and multiple values for enum are also supported, so we need to add that to the lutaml model as well.
We can make the values an enum and use collection: true to see if they contain multiple values. For example for the given snippet
collection: true
class GrammarInfo attribute :number, values: %w[singular dual plural], collection: true end
The above snippet does not parse multiple values for number i.e `number = %w[dual plural]
The above snippet should parse multiple values for number i'e `number = %w[dual plural]
blocking -> glossarist/glossarist-ruby#107
The text was updated successfully, but these errors were encountered:
HassanAkbar
Successfully merging a pull request may close this issue.
Glossarist uses enum methods, and multiple values for enum are also supported, so we need to add that to the lutaml model as well.
We can make the values an enum and use
collection: true
to see if they contain multiple values. For example for the given snippetCurrent behavior:
The above snippet does not parse multiple values for number i.e `number = %w[dual plural]
Expected behavior:
The above snippet should parse multiple values for number i'e `number = %w[dual plural]
blocking -> glossarist/glossarist-ruby#107
The text was updated successfully, but these errors were encountered: