Closed lightsprint09 closed 3 months ago
yeah, just double checked and URL is definitely Codable - I'm guessing this was because you wanted a specific in-automerge-schema representation for it? That plain string?
When I coded it (prior to this PR) and dumped the schema, I got:
"url" : {
{
"relative" :String(https://automerge.org/)
}
}
Right, I would expect. This is how JSONDecoder/Encoder handle an URL
"url" : String(https://automerge.org/)
No worries, would have guessed the same. I am currently migrating from the old automerge to the new one and discovered it did not work as expected.