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

Rename all_approvals to operators; Fix approval queries #34

Merged
merged 7 commits into from
Dec 13, 2021
Merged

Conversation

orkunkl
Copy link
Contributor

@orkunkl orkunkl commented Dec 13, 2021

In my previous PR #32, I implemented approval query. Well I thought implemented it.
The problem is I read the logic above the code which was named all_approvals and then used the same query for individual approvals. But the logic was different. The all_approvals naming is not very explanatory for the logic. So I renamed it in this PR. fixed the approval query and added a query to gel all approvals of a token.

Copy link
Collaborator

@the-frey the-frey left a comment

Choose a reason for hiding this comment

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

Renaming makes sense. Don't know about operator, but unsure what a better word would be. Legally correct would be 'Proxy' but it is too overloaded in common tech usage :(

Copy link
Collaborator

@JakeHartnell JakeHartnell left a comment

Choose a reason for hiding this comment

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

Makes a lot more sense to me. Thanks for this. 🙏

@orkunkl orkunkl merged commit 3d27e6f into main Dec 13, 2021
@orkunkl orkunkl deleted the fix-approval branch December 13, 2021 18:31
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.

3 participants