Skip to content

Changed the "volumeOperatorSpec" type to a pointer - #120

Merged
Daimanta merged 1 commit into
masterfrom
volume-operator-spec-to-pointer
Jul 17, 2026
Merged

Changed the "volumeOperatorSpec" type to a pointer#120
Daimanta merged 1 commit into
masterfrom
volume-operator-spec-to-pointer

Conversation

@Daimanta

@Daimanta Daimanta commented Jul 17, 2026

Copy link
Copy Markdown
Collaborator

This change prevents empty structs being generated when the structs are serialized. This makes sure an unused field isn't added to every OGCAPI that does not use the Volume Operator.

Description

This change prevents empty structs being generated when the structs are serialized. This makes sure an unused field isn't added to every OGCAPI that does not use the Volume Operator. This is mostly a quality-of-life feature that tries to prevent confusion to the reader of a yaml struct.

Type of change

  • Improvement of existing feature

Checklist:

  • I've double-checked the code in this PR myself
  • I've left the code better than before (boy scout rule)
  • The code is readable, comments are added that explain hard or non-obvious parts.
  • I've expanded/improved the (unit) tests, when applicable
  • I've run (unit) tests that prove my solution works
  • There's no sensitive information like credentials in my PR

This change prevents empty structs being generated when the structs are serialized. This makes sure an unused field isn't added to every OGCAPI that does not use the Volume Operator.
@Daimanta
Daimanta merged commit 4897ca2 into master Jul 17, 2026
3 checks passed
@Daimanta
Daimanta deleted the volume-operator-spec-to-pointer branch July 17, 2026 08:30
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.

3 participants