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

Add query helpers to Item and Map and use them in cw4 helpers #412

Merged
merged 4 commits into from
Sep 13, 2021

Conversation

ethanfrey
Copy link
Member

Closes #376

And also adds this functionality to Map. I didn't add any unit tests to this, but updated cw4 helpers to use this, which are covered in cw3-flex-multitest and more. (A real use case).

@ethanfrey ethanfrey requested a review from maurolacy September 10, 2021 09:18
packages/cw4/src/helpers.rs Outdated Show resolved Hide resolved
packages/cw4/src/helpers.rs Outdated Show resolved Hide resolved
packages/storage-plus/src/map.rs Show resolved Hide resolved
@ethanfrey ethanfrey force-pushed the 376-item-query-helper branch from 854f1f0 to ed645ab Compare September 13, 2021 11:04
@@ -123,6 +105,34 @@ where
}
}

// TODO: move this to a better helpers location
Copy link
Contributor

Choose a reason for hiding this comment

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

Do you have something specific in mind? Maybe create an issue along the way?

Copy link
Member Author

Choose a reason for hiding this comment

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

I will do this before merge.
Can't merge with a TODO (gotta make an issue for it first)

@ethanfrey ethanfrey merged commit ad73c25 into main Sep 13, 2021
@ethanfrey ethanfrey deleted the 376-item-query-helper branch September 13, 2021 12:51
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.

Idea: item query helper storage helper
3 participants