-
Notifications
You must be signed in to change notification settings - Fork 24.3k
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
Emit warning when props parsing encounters inconsistent duplicate keys #39149
Conversation
This pull request was exported from Phabricator. Differential Revision: D48641819 |
Base commit: a0a544f |
This pull request was exported from Phabricator. Differential Revision: D48641819 |
facebook#39149) Summary: Pull Request resolved: facebook#39149 Props structs are allowed to references RawValue keys multiple times, however this didn't work correctly if the key was formed out of a different combination of prefix/name/suffix, as the duplicate key entry would've been removed from the `RawPropsKeyMap`. Log an error in such scenarios to help identify these types of problems. Changelog: [Internal] Reviewed By: fabriziocucci Differential Revision: D48641819 fbshipit-source-id: f616bbf0c719d75ea5d1c0958355d1c3aa12dce0
d374939
to
3420e3e
Compare
This pull request was exported from Phabricator. Differential Revision: D48641819 |
3420e3e
to
d8e2831
Compare
facebook#39149) Summary: Pull Request resolved: facebook#39149 Props structs are allowed to references RawValue keys multiple times, however this didn't work correctly if the key was formed out of a different combination of prefix/name/suffix, as the duplicate key entry would've been removed from the `RawPropsKeyMap`. Log an error in such scenarios to help identify these types of problems. Changelog: [Internal] Reviewed By: sammy-SC Differential Revision: D48641819 fbshipit-source-id: 8470233ce47203ff18bd3a229e2b644289662bfb
This pull request was exported from Phabricator. Differential Revision: D48641819 |
facebook#39149) Summary: Pull Request resolved: facebook#39149 Props structs are allowed to references RawValue keys multiple times, however this didn't work correctly if the key was formed out of a different combination of prefix/name/suffix, as the duplicate key entry would've been removed from the `RawPropsKeyMap`. Log an error in such scenarios to help identify these types of problems. Changelog: [Internal] Reviewed By: sammy-SC Differential Revision: D48641819 fbshipit-source-id: 6b68480b0646a5598de2413de30aa817f354f2fc
d8e2831
to
1612af7
Compare
This pull request was exported from Phabricator. Differential Revision: D48641819 |
facebook#39149) Summary: Pull Request resolved: facebook#39149 Props structs are allowed to references RawValue keys multiple times, however this didn't work correctly if the key was formed out of a different combination of prefix/name/suffix, as the duplicate key entry would've been removed from the `RawPropsKeyMap`. Log an error in such scenarios to help identify these types of problems. Changelog: [Internal] Reviewed By: sammy-SC Differential Revision: D48641819 fbshipit-source-id: 6ece6c54384e55c4688ccebac0f99932873dc8a7
1612af7
to
86df577
Compare
facebook#39149) Summary: Pull Request resolved: facebook#39149 Props structs are allowed to references RawValue keys multiple times, however this didn't work correctly if the key was formed out of a different combination of prefix/name/suffix, as the duplicate key entry would've been removed from the `RawPropsKeyMap`. Log an error in such scenarios to help identify these types of problems. Changelog: [Internal] Reviewed By: sammy-SC Differential Revision: D48641819 fbshipit-source-id: 33581fbbd6bd7cb3ed9fe76abd92c40795ff4853
This pull request was exported from Phabricator. Differential Revision: D48641819 |
86df577
to
ae33fbd
Compare
This pull request was successfully merged by @javache in 3c87455. When will my fix make it into a release? | Upcoming Releases |
Summary:
Props structs are allowed to references RawValue keys multiple times, however this didn't work correctly if the key was formed out of a different combination of prefix/name/suffix, as the duplicate key entry would've been removed from the
RawPropsKeyMap
. Log an error in such scenarios to help identify these types of problems.Changelog: [Internal]
Reviewed By: fabriziocucci
Differential Revision: D48641819