Repository navigation
Remove AAS-specifics bits from gen. tests in C++ - #604
Merged
Merged
Conversation
We mistakenly included AAS-specific functions in the generated test code in C++. This patch fixes the issue. The mistake was revelead with live tests on smaller meta-model not related to AAS, which will be merged in shortly.
Merged
mristin
added a commit
that referenced
this pull request
May 8, 2026
* Add generation of test code for Java (#599) * Handle list of primitives in XSD (#602) * Fix integer JSON serialization in C++ (#603) * Add xmlization to TypeScript (#607) * Discontinue RDF+SHACL and JSON-LD generators (#615) * Discontinue OPC-UA generator (#616) * Discontinue protobuf generator (#617) * Infer schema constraints for values (#618) * Support list of non-optionals in XSD (#620) This version introduces XML de/serialization for the TypeScript generator, bringing it to feature parity with the other SDK generators. The Java generator now also generates the unit tests. We extend XSD support to handle lists of non-optionals such as constrained primitives and lists of lists (#604, #620). Schema constraint inference was generalized to operate at the value level rather than only at the property level (#618), for broader list support. We fix a bug in the C++ generator where JSON serialization of integers was incorrect (#603). The issue was masked because the official AAS meta-model does not use integer primitives directly. Finally, we discontinue the RDF+SHACL, JSON-LD, OPC-UA, and protobuf generators. These generators had few or no known active users and would have required significant maintenance effort to keep up with the new list-of-primitives support. Users relying on protobuf, OPC-UA, RDF+SHACL, or JSON-LD output should pin to version 0.0.22.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
We mistakenly included AAS-specific functions in the generated test code in C++. This patch fixes the issue.
The mistake was revelead with live tests on smaller meta-model not related to AAS, which will be merged in shortly.