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

Fix record types in IdpData #15

Merged
merged 1 commit into from
Apr 19, 2024
Merged

Fix record types in IdpData #15

merged 1 commit into from
Apr 19, 2024

Conversation

aj-foster
Copy link

Hello there 👋🏼

Previously, dialyzer objected to the use of data from these two fields in a call to update the record (for example, Esaml.esaml_sp(sp, ...). This wasn't obvious because callers tend to pull %IdpData{} structs out of conn.private, without any assertion that the data should conform to IdpData.t(). Warnings would only appear if someone attempted to modify data straight out of Helper.get_idp/1 or something similar.

Luckily, :esaml provides types for these records.

Previously, dialyzer objected to the use of data from these fields
in a call to update the record. Luckily, :esaml provides types
for these records.
@CLAassistant
Copy link

CLAassistant commented Mar 27, 2024

CLA assistant check
All committers have signed the CLA.

@k-cross k-cross merged commit 5f4c507 into dropbox:main Apr 19, 2024
1 check passed
@k-cross
Copy link
Collaborator

k-cross commented Apr 19, 2024

thanks for the type updates

@aj-foster aj-foster deleted the aj/types branch April 22, 2024 13:41
@aj-foster aj-foster restored the aj/types branch May 6, 2024 15:30
@nathany-copia
Copy link

Would it be possible to have a hex release with these fixes?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
4 participants