-
Notifications
You must be signed in to change notification settings - Fork 244
Closed
Labels
investigatingThis issue is being investigated and/or work is in progress to resolve the issue.This issue is being investigated and/or work is in progress to resolve the issue.
Description
Hi!
I bumped into this: if you merge two models with a member that's @required in one but not in the other, the merged model will always make the field required.
While this behavior is consistent with the usual handling of traits in model merging, shouldn't this emit some sort of event, whether it be a NOTE or WARN? I imagine some code might misbehave if you merge things like these:
structure Greeting {
from: String,
@required to: String
}structure Greeting {
@required from: String,
to: String
}Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
investigatingThis issue is being investigated and/or work is in progress to resolve the issue.This issue is being investigated and/or work is in progress to resolve the issue.