Skip to content

Bug: Error Handling Circular Inheritance in Schema Models #4

@MZaFaRM

Description

@MZaFaRM

Description:

  • The tool currently raises errors when trying to handle schemas with cyclically inherited models. This issue occurs in scenarios where a model is designed to inherit from another model that, in turn, inherits from the first model, creating a circular dependency.

Steps to Reproduce:

  1. Define two or more models in the schema with circular inheritance (e.g., Model A inherits from Model B, and Model B inherits from Model A).
  2. Run the tool to process this schema.
  3. Observe the error that occurs.

Expected Behavior:

  • Ideally, the tool should be able to handle circular inheritance without throwing errors, allowing for more complex schema designs.

Actual Behavior:

  • When processing a schema with circularly inherited models, the tool fails and throws an error (specific error details would be helpful here).

Impact:

  • This limitation restricts the schema design, preventing the implementation of certain data models which require circular inheritance.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions