-
Notifications
You must be signed in to change notification settings - Fork 2
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
[FF-4069] Update plain and obfuscated configs for flags for variation of type STRING with special characters in values #119
Conversation
@@ -1355,6 +1355,1799 @@ | |||
"doLog": false | |||
} | |||
] | |||
}, |
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.
💪
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.
My only regret is that we have no README in this repo for you to update with instructions on how to update the obfuscated testing config. (feel free to add ;))
@@ -0,0 +1,98 @@ | |||
export interface ITargetingRuleCondition { |
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.
Would it be useful to get these types from the Eppo js-common-sdk package?
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.
It would be nice. But I couldn't find them in https://github.com/Eppo-exp/js-sdk-common.
import { obfuscateUniversalFlagConfig } from "./obfuscation.helper"; | ||
import { UniversalFlagConfig } from "./ufc.dto"; | ||
|
||
describe('Obfuscate UFC config', () => { |
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.
🚀
Sure, I will add/updated README in this PR. |
I think @typotter knows this repo the best, so if he approves, you are good to go. |
Readme updated here b18b1d1. |
Eppo Internal:
🎟️ Ticket: FF-4069 - Adjust Shared SDK Test Data to Ensure SDKs can handle non-alphanumeric characters in String values
Description:
SDKs need to be able to handle special characters in values for the variations of type STRING. This PR adds a test cases to check all possible allowed special characters as values of the variations. Test cases cover single inclusion of special character, multiple special characters divided by regular ones, multiple repeating special characters as a whole variation value.