Skip to content

Remove AAS-specifics bits from gen. tests in C++ - #604

Merged
mristin merged 1 commit into
mainfrom
mristin/Remove-aas-specific-bits-from-C++
Apr 10, 2026
Merged

mristin merged 1 commit into
mainfrom
mristin/Remove-aas-specific-bits-from-C++

Conversation

@mristin

@mristin mristin commented Apr 10, 2026

Copy link
Copy Markdown
Contributor

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.

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.
@mristin
mristin merged commit 13cb367 into main Apr 10, 2026
10 checks passed
@mristin
mristin deleted the mristin/Remove-aas-specific-bits-from-C++ branch April 10, 2026 18:43
@mristin mristin mentioned this pull request May 8, 2026
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.
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.

1 participant