-
Notifications
You must be signed in to change notification settings - Fork 55
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
Implemented code changes to add the default domainId value, #139
base: master
Are you sure you want to change the base?
Implemented code changes to add the default domainId value, #139
Conversation
if its not provided by user
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.
Please add which issue it fixes, also remove the 2.1.2 version, as it is not yet released.
Make changes of the above change for 2.1.1 only
Fixed the comments |
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.
+1
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.
Why is this change being made (the linked issue gives no justification)? For sites not using multiple domains, why force events to include a domain id? For sites that do use multiple domains, what's the use of a generic and rather useless "domainID" string? If you really want a domain id, why not mandate it (i.e. reject submissions without a domain id)?
"version": "4.0.0", | ||
"tags": ["product_development","product_feature1"], | ||
"source": { | ||
"domainId": "", |
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.
This event has an empty domain id yet the filename suggests that the domain id is missing. The way I read setDomainId() it won't touch the domain id if the key is missing altogether, it'll only set it if the string is empty. Is that really what's intended?
if its not provided by user
Applicable Issues
REMReM-semantics doesn't add the default domain id if not provided by the user.
For more details#138
Description of the Change
Implemented code changes to add the default domainId value, if its not provided by user.
Alternate Designs
Benefits
Even in the case of User is not provided the domainId REMReM-semantics will add the default domainId
Possible Drawbacks
Sign-off
Developer's Certificate of Origin 1.1
By making a contribution to this project, I certify that:
(a) The contribution was created in whole or in part by me and I
have the right to submit it under the open source license
indicated in the file; or
(b) The contribution is based upon previous work that, to the best
of my knowledge, is covered under an appropriate open source
license and I have the right under that license to submit that
work with modifications, whether created in whole or in part
by me, under the same open source license (unless I am
permitted to submit under a different license), as indicated
in the file; or
(c) The contribution was provided directly to me by some other
person who certified (a), (b) or (c) and I have not modified
it.
(d) I understand and agree that this project and the contribution
are public and that a record of the contribution (including all
personal information I submit with it, including my sign-off) is
maintained indefinitely and may be redistributed consistent with
this project or the open source license(s) involved.
Signed-off-by: Sudharshan Bandaru [email protected]