Skip to content

Remove discussion on equality and deduplication from wire format definition#144

Merged
bulldozer-bot[bot] merged 8 commits intodevelopfrom
ds/remove-canonical-format
Nov 15, 2018
Merged

Remove discussion on equality and deduplication from wire format definition#144
bulldozer-bot[bot] merged 8 commits intodevelopfrom
ds/remove-canonical-format

Conversation

@dansanduleac
Copy link
Copy Markdown
Contributor

@dansanduleac dansanduleac commented Nov 13, 2018

To be fleshed out in #147.

@dansanduleac dansanduleac requested a review from a team as a code owner November 13, 2018 19:16
@iamdanfox
Copy link
Copy Markdown
Contributor

Can we add this as an RFC as part of the same PR?

Comment thread docs/rfc/007-equality.md Outdated
_ => return cmp
}
}
}
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this has gotten a bit out of hand...
@iamdanfox let's chat tmr on whether it's worth speccing all of this out.
If we didn't have to deal with set deduplication (since sets can contain any other conjure type) then this would be a lot simpler

@iamdanfox iamdanfox changed the title Remove canonical format, and set / map deduping advice Remove canonical format, and RFC 007: set / map deduping advice Nov 14, 2018
Comment thread docs/rfc/007-equality.md Outdated
When deserializing Conjure `set` or `map` keys, duplicate set items / map keys (according to the equivalence defined below)
are not allowed. Sets or maps containing duplicates should fail to deserialize.

Equivalence of two conjure values must be determined in a way that is isomorphic to comparing using the `compare`
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

TODO(dsanduleac): flesh out context for why we want this. mention typescript and go

@dansanduleac dansanduleac changed the title Remove canonical format, and RFC 007: set / map deduping advice Remove canonical format Nov 15, 2018
Copy link
Copy Markdown
Contributor

@iamdanfox iamdanfox left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

OK happy to remove a half-baked description with the expectation that this will be fleshed out more exhaustively in a proper RFC. (cc @uschi2000 who requested this)

@uschi2000
Copy link
Copy Markdown
Contributor

Could you change the commit message to something more descriptive so it's to find it later?
Maybe 'Remove discussion on equality and deduplication from wire format definition' or similar

@dansanduleac dansanduleac changed the title Remove canonical format Remove discussion on equality and deduplication from wire format definition Nov 15, 2018
@bulldozer-bot bulldozer-bot Bot merged commit 881f523 into develop Nov 15, 2018
@bulldozer-bot bulldozer-bot Bot deleted the ds/remove-canonical-format branch November 15, 2018 16:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants