Skip to content

invert class/instance initialize priority in union "subtraits"#346

Closed
rmorshea wants to merge 5 commits intoipython:masterfrom
rmorshea:union_default_priority
Closed

invert class/instance initialize priority in union "subtraits"#346
rmorshea wants to merge 5 commits intoipython:masterfrom
rmorshea:union_default_priority

Conversation

@rmorshea
Copy link
Copy Markdown
Contributor

Union validation prefers the first given TraitType so it seems reasonable to remain consistent and prefer the default value of that first TraitType as well.

Right now, we prefer the default value of the last given TraitType which seems odd since that default will first have to pass validation from all the TraitTypes before it.

@rmorshea rmorshea changed the title invert class initialize priority in union "subtraits" invert class/instance initialize priority in union "subtraits" Nov 10, 2016
@minrk minrk closed this in c523781 Dec 21, 2016
@minrk
Copy link
Copy Markdown
Member

minrk commented Dec 21, 2016

Merged as c523781

@minrk minrk added this to the 5.0 milestone Dec 21, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants