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

Adding EntityType as extend of another EntityType via MetaDataApi does not work #9403

Open
dtroelofsprins opened this issue Dec 23, 2022 · 0 comments

Comments

@dtroelofsprins
Copy link

How to Reproduce

https://molgenis.gitbook.io/molgenis/interoperability/guide-api-metadata, try to create a new entity type with extend (post metadata)
with something like this:
{ "id": "eu_bbmri_eric_test", "package": "eu_bbmri_eric", "label": { "defaultValue": "Test Table", "translations": {} }, "description": { "defaultValue": "Test extend table", "translations": {} }, "extends": "eu_bbmri_eric_ontology_terms" }

Expected behavior

The table is created

Observed behavior

Error: "attributes must not be empty"

When including "attributes" : [] or something like that, it also results in an error

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

1 participant