Replies: 1 comment
|
That's a great question @vhpoet - internally what we were doing was exactly what you said, but we strip out some fields. FYI - Metadata will be important in v1.1 of the DSL as well as a schema version field. We can consider exposing a function in the syntax transformer that handles checking whether two versions are the same. One question I have. Assume later on we allowed you to add comments to the JSON/DSL, would you consider changes to the comments as a divergence that would cause a write? (We'd say yes, but curious if you'd think the same) |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
I have code that will take
model.dsland write it to the store, but I only want to do it whenmodel.dslis different from what's already in the store. Is there an elegant way of doing this?Current approach is to:
model.dslinto json format.A bit of weirdness when comparing: I get this
"metadata": nullthing from the loaded model that I don't have in the local modal. See below.vs
All reactions