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

Alle COMs und BOs sollen ein Attribute/Feld _typ und _version haben (die langfristig boTyp und versionstruktur ablösen) #614

Open
hf-kklein opened this issue Oct 5, 2023 · 1 comment

Comments

@hf-kklein
Copy link
Contributor

hf-kklein commented Oct 5, 2023

Anforderung / Hintergrund

Man/die Technik soll nur durchs "Ansehen" eines BO4E JSON Objekts erkennen können, um was es sich handelt. Das ist wichtig, weil durch das Wegstreichen aller fachlichen Pflichtfelder nichts übrig bleibt, aufgrund dessen man erraten/reverse engineeren könnte, was es ist.

Dies betrifft auch die COMs.

Vorschlag zur Umsetzung:

  • _typ ist (ein überbordendes) Enum (Quasi BOTyp+COMTyp) das technisch eine strukturspezifische Konstante ist.
  • _version ist ein string (``yyyy.ff.tt`).
  • Beide sind nicht nullable

Langfristig lösen _typ und _version den boTyp und die vesionstruktur ab.

@hf-kklein hf-kklein changed the title Alle COMs und BOs sollen ein Attribute/Feld _typ und _version haben Alle COMs und BOs sollen ein Attribute/Feld _typ und _version haben (die langfristig boTyp und versionstruktur ablösen) Oct 5, 2023
@hf-kklein
Copy link
Contributor Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants