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

Check explicitly for missing model type #35

Merged
merged 1 commit into from
Jul 7, 2024

Conversation

mristin
Copy link
Contributor

@mristin mristin commented Jul 7, 2024

We add an explicit check for missing modelType to account for the case where a concrete class without descendants needs a model type for backwards compatibility even though the model type property is redundant.

The code corresponds to aas-core-codegen 84ccbb64, and the test data correspods to aas-core3.0-testgen 1b00dbe45.

Fixes #32.

We add an explicit check for missing ``modelType`` to account for
the case where a concrete class without descendants needs a model type
for backwards compatibility even though the model type property is
redundant.

The code corresponds to [aas-core-codegen 84ccbb64], and the test data
correspods to [aas-core3.0-testgen 1b00dbe45].

[aas-core-codegen 84ccbb64]: aas-core-works/aas-core-codegen@84ccbb64
[aas-core3.0-testgen 1b00dbe45]: aas-core-works/aas-core3.0-testgen@1b00dbe45

Fixes #32.
@mristin mristin merged commit c07821b into main Jul 7, 2024
13 checks passed
@mristin mristin deleted the mristin/Check-explicitly-for-modelType branch July 7, 2024 10:18
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.

Instance deserialized although modelType is missing
1 participant