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

Support LinkML Abstract classes #65

Open
jgadling opened this issue Jun 27, 2024 · 0 comments
Open

Support LinkML Abstract classes #65

jgadling opened this issue Jun 27, 2024 · 0 comments

Comments

@jgadling
Copy link
Contributor

jgadling commented Jun 27, 2024

LinkML supports an abstract: true property on classes. Our code generation should support these abstract classes, but there are some decisions we need to make first:

  1. Do we want to represent these abstract classes in our DB schema or GraphQL schema at all, or do they just get hidden, with their fields inherited by concrete classes?

What we need to do:

  • Decide how to map these abstract classes to SQLAlchemy models and/or GraphQL interfaces/types
  • Implement the changes necessary to support the decision
  • Document the rationale for our decision
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

No branches or pull requests

1 participant