-
Notifications
You must be signed in to change notification settings - Fork 419
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Make user.group
a nesting of the group
field set
#308
Conversation
Philosophical question: the changelog entry goes under "breaking", or "bugfixes"? :-) |
@cwurm for awareness |
For the changelog, it should be mentioned in both places. It's a bug fix but a breaking bug fix. |
I just duplicated the whole changelog entry as is. Considered wording it differently (why it's a bugfix), but I figure if people care, they'll check out the PR and the issue. |
@webmat I stumbled over this but was not sure if I should comment. If you can word it differently would appreciate it. |
Ok, will do ;-) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Imports the hanges from elastic/ecs#308.
This change enables us to nest the `group` field set at `user.group`, rather than being limited to only group name. Imports the changes from ECS elastic/ecs#308, which solves elastic/ecs#304.
Breaking change. Field set name "group" was being used as a leaf field at `user.group`. It had different semantics as the field set: it was a keyword field, instead of being a nesting of the field set. This goes against a driving principle of ECS, and has been corrected. We removed the `user.group` `keyword` field (introduced in elastic#204), and made the `group` field set nestable at `user.group`.
…#355) Cherry-pick of PR #308 to 1.0 branch. Original message: Breaking change. Field set name "group" was being used as a leaf field at `user.group`. It had different semantics as the field set: it was a keyword field, instead of being a nesting of the field set. This goes against a driving principle of ECS, and has been corrected. We removed the `user.group` `keyword` field (introduced in #204), and made the `group` field set nestable at `user.group`.
This change enables us to nest the `group` field set at `user.group`, rather than being limited to only group name. Imports the changes from ECS elastic/ecs#308, which solves elastic/ecs#304.
An error slipped in, and instead of nesting the
group
field set atuser.group
, we originally made this akeyword
field.This PR introduces a breaking change, but we are aiming to introduce this fix in ECS 1.0.0 GA.
The initial implementation went against our principle of not reusing top level object names elsewhere in the hierarchy, using different semantics.
This PR closes #304.