Skip to content

Replace KeyPair class with record typedef KeyPair<T,S> #195

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

Merged
merged 2 commits into from
May 5, 2025

Conversation

HamdaanAliQuatil
Copy link
Collaborator

Closes #191

@jonasfj
Copy link
Member

jonasfj commented Mar 7, 2025

This is technically breaking right, but not very breaking.

I was contemplating if we should group with other breaking changes. But maybe we should just decide that it's not that breaking.

Copy link
Member

@jonasfj jonasfj left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's update the CHANGELOG.md so that we have entry for this change, ready for the next release.

This is technically breaking, but probably so little breaking that it won't affect anyone.

@HamdaanAliQuatil
Copy link
Collaborator Author

Let's update the CHANGELOG.md so that we have entry for this change, ready for the next release.

This is technically breaking, but probably so little breaking that it won't affect anyone.

Created a PR to update CHANGELOG.md #196


_KeyPair({required this.privateKey, required this.publicKey});
}
typedef KeyPair<S, T> = ({S privateKey, T publicKey});
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

where is this used?


_KeyPair({required this.privateKey, required this.publicKey});
}
typedef KeyPair<S, T> = ({S privateKey, T publicKey});
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

where is this used?

@jonasfj jonasfj mentioned this pull request May 2, 2025
@HamdaanAliQuatil HamdaanAliQuatil requested a review from jonasfj May 4, 2025 10:48
@jonasfj jonasfj merged commit d24e5cc into master May 5, 2025
14 checks passed
@jonasfj jonasfj deleted the keypair-typedef branch May 5, 2025 07:44
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.

Consider removing KeyPair class in favor of a record typedef KeyPair<T,S> = ({T privateKey, S publicKey});
2 participants