-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Rename MissingGroupType and UnsupportedGroupType #2227
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is a breaking change for anyone relying on this, so would need at least a bump to 1.7. But maybe we can make it in a backward compatible way with MissingGroupTypeError
= MissingGroupType
?
I'd be happy to merge with a backwards compatible assignment of old name = new name, or a bump to 1.7. |
I could make an alias and we deprecate it on the next version |
That works for me. |
@ericproulx Looks like CI is having trouble on master beyond rack-edge now, care to take a look? |
I’ll take a look :)
…On Mon 14 Feb 2022 at 23:34 Daniel Doubrovkine (dB.) < ***@***.***> wrote:
@ericproulx <https://github.com/ericproulx> Looks like CI is having
trouble on master beyond rack-edge now, care to take a look?
—
Reply to this email directly, view it on GitHub
<#2227 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ACAHJI24RI5OWGDKLUFDMRLU3F7OJANCNFSM5LFICWAA>
.
Triage notifications on the go with GitHub Mobile for iOS
<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
or Android
<https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
You are receiving this because you were mentioned.Message ID:
***@***.***>
--
*Avertissement*
Ce message est destiné uniquement à la personne ou à
l’organisation à laquelle il est adressé et il peut contenir des
informations privilégiées, confidentielles ou non divulgables en vertu de
la loi. Si vous n’êtes pas le destinataire du présent message ni la
personne chargée de remettre le présent message à son destinataire, il vous
est strictement interdit de le divulguer, de le distribuer, de le copier ou
de l’utiliser de quelque façon que ce soit. Si vous avez reçu la présente
communication par erreur, veuillez en aviser l’expéditeur et détruire ou
effacer tous les exemplaires que vous avez reçus.
*Warning
*This message
is intended only for the use of the individual or entity to which it is
addressed, and may contain information which is privileged, confidential,
proprietary or exempt from disclosure under applicable law. If you are not
the intended recipient or the person responsible for delivering the message
to the intended recipient, you are strictly prohibited from disclosing,
distributing, copying or in any way using this message. If you have
received this communication in error, please notify the sender, and destroy
and delete any copies you may have received.
|
While testing locally, I found that grape/lib/grape/validations/types/file.rb Lines 1 to 15 in e93d278
A quick fix would be to check |
So |
This PR renames MissingGroupTypeError and UnsupportedGroupTypeError for consistency.