Feature request: Metamodel verifier #288
Labels
Component: Graph Manager
Issues related to graph processing and management (including interaction with engine server) logic
Studio Core Team
Opened by a member of the Studio core team
Type: Feature Request
Type: Refactor
Milestone
As we are moving in the direction of simplifying metamodel (#263), we need to be able to verify at runtime that the metamodels that we constructed, are compliant with the model, i.e. checking to make sure required fields are set. This is good for development and we should cover this with tests ideally.
Implementation Plan
Right now, we don't have a good strategy yet to automate this, so we might need to manually define verifier for each metamodel like we do for
hashCode
-NOTE
we can probably make use ofhashCode
to do this check (e.g. as we compute the hashCodes for fields, we can also verify that they are present).As such, we have a few different strategies:
hashCode
function to also do the verification.fields
we want to exclude (using something similar toserializer
createDefaultSchema
)The text was updated successfully, but these errors were encountered: