Skip to content

Persistence model depends on public management API #780

@snazy

Description

@snazy

Describe the bug

All entities of the persistence model have asXyz() functions to return a type from the management OpenAPI spec. While this is currently convenient, it introduces a cyclic dependency, which should generally be avoided:

  • management-API depends on REST endpoints
  • REST endpoint implementations depend on entities
  • entities depend on management-API

The management API and its implementation should not leak into the persistence model.

To Reproduce

No response

Actual Behavior

No response

Expected Behavior

No response

Additional context

No response

System information

No response

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions