AtomGraph / LinkedDataHub

The low-code Knowledge Graph application platform. Apache license.
https://atomgraph.github.io/LinkedDataHub/
Apache License 2.0
489 stars 123 forks source link

Constructor change does not have effect #76

Closed namedgraph closed 3 years ago

namedgraph commented 3 years ago

After changing the constructor of a model class, the instance that gets created by clicking the [Create] button in the end-user app still shows the old version.

Looks like a 304 Not Modified is sent back because the Last-Modified and ETag metadata is calculated on the resource it is invoked on, and not on the instance itself. We should fix this as a general case when forClass query param is provided.