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

feat: add collection classes #4

Merged
merged 2 commits into from
Jan 10, 2025
Merged

feat: add collection classes #4

merged 2 commits into from
Jan 10, 2025

Conversation

ronaldtse
Copy link
Contributor

Some of the specs are failing due to usage with root_mappings.

@HassanAkbar can you please help?

Also, UnitSystems is not working because it is actually a real array. In lutaml-model we don't have a way to map a class to a (real) collection (not a keyed collection).

Also FYI @suleman-uzair .

@ronaldtse ronaldtse added the enhancement New feature or request label Jan 9, 2025
@HassanAkbar
Copy link
Member

@ronaldtse Some specs are failing because we have yaml with empty values, and no render_nil defined in the models. if we add render_nil: true other specs start to fail.

What do you think we should do in this case?

Copy link
Contributor Author

@ronaldtse ronaldtse left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you @HassanAkbar !

@ronaldtse
Copy link
Contributor Author

In the serialization we are still getting serialized Ruby objects, eg.

!ruby/object:Unitsdb::UnitSymbol

@ronaldtse
Copy link
Contributor Author

Let’s merge this first. Thanks @HassanAkbar !

@ronaldtse ronaldtse merged commit 74827e9 into main Jan 10, 2025
2 of 14 checks passed
@ronaldtse ronaldtse deleted the rt-add-collection-classes branch January 10, 2025 06:04
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

Successfully merging this pull request may close these issues.

2 participants