Closed rcsandell closed 4 years ago
Reference #369 @aldeed . Anything else you'd like to see with the commit?
Bump. Reference https://github.com/aldeed/meteor-collection2-core/issues/43
@rcsandell I've rebased/squashed your PR against most recent changes and did some minor cleanup work in #392 (you are maintained as author). Hopefully this helps to potentially have this merged in sooner.
All I can see is you've deleted my description in the documentation of how the new attach schema functionality works?
Hi @rcsandell - I resolved the conflicts with the latest version (3.0.2)
The following files were redundant / not relevant to the changes and have been removed:
I reworked the description you added originally as I found it very verbose describing the four scenarios separately given they are really just variations on the existing replace / merge behavior (IMO most people will already expect that selector schemas will extend an already attached schema and hence a brief note to clarify is clearer / causes less confusion).
Happy to close the PR in favor of this one if you want to bring it up to date yourself.
Thanks, I don't think it's obvious at all because it's new functionality that never existed before. Hence why it necessary to list all the options, and each of their specific behaviours.
I've removed the redundant files, and placed all the changes in a single commit.
Okay - I can see you've resolved the conflicts so will close my PR accordingly. Will leave it to @aldeed to document as he feels needed. Thanks for your work on this!
No worries dude, I'm sure @aldeed will also have a list of changes
Bump, pull request for "help wanted" feature https://github.com/aldeed/meteor-collection2-core/issues/43 @aldeed @serkandurusoy @jgladch
@rcsandell I am not a maintainer of this reposiytory :/
This would be an excellent feature.
@aldeed @mquandalle @newsiberian @wI2L @jimmiebtlr @dmitrijs-balcers @yogiben @spencern @serkandurusoy @raix @pierreozoux @phocks @petrometro @mryraghi @luckyyang @lourd @grabbou @dandv @czeslaaw @boustanihani @FatBoyXPC
Hey Previous contributors,
Has Eric Dobbertin and Collection2 died?
What will it take to get the show on the road?
Kind Regards,
I haven't used meteor in a few years, sorry @rcsandell!
Sorry I can not answer your question.
@rcsandell thats a pretty massiv mention - I haven’t used Meteor the past couple of years - I know Eric is very low on time so I’d expect that to be the reason.
That said this comment doesn’t bring you closer to solving the actual problem of getting this pr merged and released - for that I’m sorry
Kind regards Morten
Hi Eric,
Thanks for getting back to us on this one. I'll reply to your comments individually.
Thanks for your review Eric.
I've made comments on the comments, it seems like the only task is to remove line 115 from the new commit. If that is all then I will go ahead and make the commit. Otherwise if there is anything else I'd like to include it before making the next commit.
Kind Regards, Robert
Hello @rcsandell, just dropping in to let you know that we're currently working our way through the PRs and will get to yours eventually.
This is really good, thank you @rcsandell. Though, have you tried to run the test command? Also, it'd be super good if new test cases are added to account for the changes. For instance validating the removal of all selector schemas if we were to update the base schema with replace
being set.
Pull request for #369 "Default Schema for No Matching Selector when using Multiple Schemas"
This adds support for having a base (default) schema while also using multiple selector schemas.
There are four behaviors for attaching schemas:
It is possible to use schemas on collections with or without the base schema specified, and with or without selector schemas specified. The selector schemas will always inherit the base schema. Replacing the base schema effectively serves as deleting all schemas off the collection.
Before I started the tests were producing error: "1) extending a schema with a selector after attaching it, collection2 validation respects the extension" and that error is still being produced.