Skip to content

feat: adding JsonKindDispatcher + Surface conversion#5195

Merged
kodiakhq[bot] merged 18 commits intoacts-project:mainfrom
ssdetlab:surface-json-converter-fixes
Apr 8, 2026
Merged

feat: adding JsonKindDispatcher + Surface conversion#5195
kodiakhq[bot] merged 18 commits intoacts-project:mainfrom
ssdetlab:surface-json-converter-fixes

Conversation

@ssdetlab
Copy link
Copy Markdown
Contributor

@ssdetlab ssdetlab commented Mar 5, 2026

Adding JsonKindDispatcher that unifies the interface for the json conversion.

Refactoring the Surface json conversion to TypeDispatcher + JsonKindDispatcher flow.

SurfaceJsonConverter is now a class that stores the json encoders/decoders and its Config members.
The class is static, since a lot of external conversion depends on the conversion functions being statically accessible.
Could be refactored later (e.g., refactor all the json converters to classes and pass the surface converter as a Config member).

The kind of the Surface + Bounds type is performed by two independent functions, in case there will be changes to the way the type is handled.

PerigeeSurface is handled independently outside of the dispatcher structure, since it does not follow the usual constructor argument convention.
The said constructor could be added to unify the interface.

The PR also adds GeometryIdentifier conversion with the dedicated converter and fixes the material conversion bug.

@github-actions github-actions bot added this to the next milestone Mar 5, 2026
@github-actions github-actions bot added the Component - Plugins Affects one or more Plugins label Mar 5, 2026
@ssdetlab
Copy link
Copy Markdown
Contributor Author

ssdetlab commented Mar 5, 2026

Introduced an additional overload for boundless surfaces to unify the interface

@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Mar 5, 2026

📊: Physics performance monitoring for d80912b

Full contents

physmon summary

@sonarqubecloud
Copy link
Copy Markdown

sonarqubecloud bot commented Apr 7, 2026

@kodiakhq kodiakhq bot merged commit 3da1e39 into acts-project:main Apr 8, 2026
42 checks passed
@github-actions github-actions bot removed the automerge label Apr 8, 2026
@andiwand andiwand removed this from the next milestone Apr 14, 2026
@andiwand andiwand added this to the v46.2.0 milestone Apr 14, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Component - Plugins Affects one or more Plugins

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants