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

Support flag/bitmask params #150

Merged
merged 2 commits into from Dec 7, 2022
Merged

Support flag/bitmask params #150

merged 2 commits into from Dec 7, 2022

Conversation

spaze
Copy link
Owner

@spaze spaze commented Dec 7, 2022

Adding support for flag/bitmask params when allowing previously disallowed calls

Close #142

…face

This is because making arrays (e.g. $allowParamsInAllowed) of generic classes in DisallowedCallFactory required me to specify their type T and I wasn't sure how to do that without changing almost every file which seemed like an overkill.

Also naming is hard and I didn't want to have classes like AbstractBlahBlah or BlahBlahInterface.
@spaze spaze self-assigned this Dec 7, 2022
@spaze spaze changed the title Spaze/param flags Support flag/bitmask params Dec 7, 2022
@spaze spaze merged commit cb8db9c into master Dec 7, 2022
@spaze spaze deleted the spaze/param-flags branch December 7, 2022 02:40
spaze added a commit that referenced this pull request Dec 7, 2022
spaze added a commit that referenced this pull request Dec 7, 2022
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.

Add flag support for params
1 participant