Skip to content

Conversation

@odesenfans
Copy link
Collaborator

Some messages do not provide the item_type field.
Added logic in the first validator of the PendingMessage schema
to set it to a default value based on the value of item_content
and item_hash if necessary.

Some messages do not provide the `item_type` field.
Added logic in the first validator of the `PendingMessage` schema
to set it to a default value based on the value of `item_content`
and `item_hash` if necessary.
@odesenfans odesenfans requested a review from hoh May 30, 2022 09:01
@odesenfans odesenfans added this to the May release milestone May 30, 2022
@odesenfans odesenfans merged commit 8110e4e into aleph-im:dev May 30, 2022
@odesenfans odesenfans deleted the od-pending-messages-default-item-type branch May 30, 2022 11:43
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