Skip to content
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

Panic bumper on buildEnum #1048

Merged
merged 2 commits into from
Apr 7, 2022
Merged

Panic bumper on buildEnum #1048

merged 2 commits into from
Apr 7, 2022

Conversation

monde
Copy link
Collaborator

@monde monde commented Apr 6, 2022

Moved buildEnum to utils.go as it is used in multiple files.
Allows buildEnum input ae slice to have a nil value.
Protects for all other values in ae slice are strings.
Adds unit test to illustrate intent on all edge chases.

Closes #1047

@MikeMondragon-okta MikeMondragon-okta force-pushed the panic_bumper_build_enum branch 2 times, most recently from a9f3590 to 2b751ad Compare April 6, 2022 23:01
@MikeMondragon-okta MikeMondragon-okta force-pushed the panic_bumper_build_enum branch from 2b751ad to 3888ddd Compare April 7, 2022 17:23
@monde monde merged commit e956e8a into master Apr 7, 2022
@monde monde deleted the panic_bumper_build_enum branch April 7, 2022 21:40
@monde
Copy link
Collaborator Author

monde commented Apr 8, 2022

@eephillip this is released as v3.23.0

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.

crash/panic - okta_user_schema_property
2 participants