Skip to content

fix(provider): enhance error handling and type parsing in evaluations#13

Open
Abraxas-365 wants to merge 1 commit into
mainfrom
fix/boolean_string
Open

fix(provider): enhance error handling and type parsing in evaluations#13
Abraxas-365 wants to merge 1 commit into
mainfrom
fix/boolean_string

Conversation

@Abraxas-365

Copy link
Copy Markdown
Contributor
  1. Added handling for toggles where boolean values may be given as a string.
  2. Added string parsing for float and integer evaluations, if the value given is a string.
  3. Switched out static error messages for more dynamic and informative ones based on the flag type.
  4. Enhanced user data extraction from the evaluation context and added user custom attributes.
  5. Added helper functions to safely extract string values from maps and to determine if an attribute belongs to a user.

1. Added handling for toggles where boolean values may be given as a string.
2. Added string parsing for float and integer evaluations, if the value given is a string.
3. Switched out static error messages for more dynamic and informative ones based on the flag type.
4. Enhanced user data extraction from the evaluation context and added user custom attributes.
5. Added helper functions to safely extract string values from maps and to determine if an attribute belongs to a user.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant