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

Allow multiple message types #444

Merged
merged 4 commits into from
Sep 5, 2023
Merged

Conversation

MHHukiewitz
Copy link
Member

Problem: msgType is the only parameter when fetching messages, which does not take a list of items as a parameter.

Solution: add msgTypes as a parameter to the API and deprecate msgType.

Copy link
Contributor

@odesenfans odesenfans left a comment

Choose a reason for hiding this comment

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

A few minor things to change.

src/aleph/db/accessors/messages.py Outdated Show resolved Hide resolved
src/aleph/db/accessors/messages.py Outdated Show resolved Hide resolved
src/aleph/web/controllers/messages.py Outdated Show resolved Hide resolved
src/aleph/web/controllers/messages.py Outdated Show resolved Hide resolved
@MHHukiewitz MHHukiewitz force-pushed the mhh--filter-multiple-message-types branch from cd17522 to 0e207f8 Compare August 5, 2023 12:39
@MHHukiewitz
Copy link
Member Author

Rebased and ready @odesenfans

MHHukiewitz and others added 3 commits September 5, 2023 14:38
…single message type, where other params accept a list of values

Solution: add msgTypes field and deprecate msgType
@odesenfans odesenfans force-pushed the mhh--filter-multiple-message-types branch from 0e207f8 to 48e6950 Compare September 5, 2023 12:39
@odesenfans odesenfans merged commit dbf2048 into master Sep 5, 2023
4 checks passed
@odesenfans odesenfans deleted the mhh--filter-multiple-message-types branch September 5, 2023 13:14
odesenfans pushed a commit to aleph-im/aleph-sdk-python that referenced this pull request Sep 5, 2023
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.

2 participants