Skip to content

Conversation

@qligier
Copy link
Member

@qligier qligier commented Apr 17, 2025

This makes it much faster to list validatable StructureDefinitions in the GUI and the Gazelle webservice.

It works when installing an IG (hooked to the creation of the NpmPackageVersionResourceEntity) and we removing one (it's linked to the NpmPackageVersionResourceEntity and the SQL server will cascade the DELETE).
What doesn't work yet is the update when the IG is updated (i.e. the isCurrent flag will change for existing resources).

It probably doesn't work well with an existing database, but having our own SQL migration on top of the HAPI one is quite some work. Do we have any usecase where the database should really be persisted?

I'm unsure if we should differentiate between the IG version and the StructureDefinition version. Already discussed in #225, we have to use the IG version

We could also only store validatable StructureDefinitions, that would make it a bit faster. We currently don't need to list non-validatable SDs.

Do we need other info in here?

Not ready to merge.

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.

2 participants