Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Wrap status id in helper type #37

Closed

Conversation

matthiasbeyer
Copy link
Contributor

This wrapper type ensures that the status id cannot accidentially be compared to some other string that represents something entirely else.

This wrapper type ensures that the status id cannot accidentially be
compared to some other string that represents something entirely else.

Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
@dscottboggs
Copy link
Owner

I'd like to see some tests come with this, and we should also consider other types which should be set up this way, such as account IDs, media IDs, etc.

@matthiasbeyer
Copy link
Contributor Author

Yes, we should definitively also wrap the other types. Should I add changes for this in this PR or open seperate ones?
I'm fine with either!

@dscottboggs
Copy link
Owner

Let's keep it together in one place

@matthiasbeyer
Copy link
Contributor Author

This conflicts with #39 probably, so I'd rather wait for that other PR.

@dscottboggs dscottboggs mentioned this pull request Jan 9, 2023
@dscottboggs
Copy link
Owner

Superseded by #50

@dscottboggs dscottboggs closed this Jan 9, 2023
@matthiasbeyer matthiasbeyer deleted the status-id-typed branch January 9, 2023 13:42
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants