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

fix: create message subscription first #1549

Conversation

TimoGlastra
Copy link
Contributor

mediation initialization was happening before the message subscription was registered, thus meaning the received messages to provision the mediator wouldn't be processed. This moves it to the start of the initialize method, before mediation initialization

@TimoGlastra TimoGlastra requested a review from a team as a code owner August 18, 2023 12:48
@TimoGlastra TimoGlastra requested a review from genaris August 18, 2023 12:48
Copy link
Contributor

@genaris genaris left a comment

Choose a reason for hiding this comment

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

Oops!

You were right about avoiding as much as possible doing things at module initialization.

@codecov-commenter
Copy link

codecov-commenter commented Aug 18, 2023

Codecov Report

Merging #1549 (9e00478) into main (9377378) will not change coverage.
The diff coverage is 60.00%.

@@           Coverage Diff           @@
##             main    #1549   +/-   ##
=======================================
  Coverage   85.73%   85.73%           
=======================================
  Files         950      950           
  Lines       22744    22744           
  Branches     3978     3978           
=======================================
  Hits        19500    19500           
  Misses       3059     3059           
  Partials      185      185           
Files Changed Coverage Δ
packages/core/src/agent/Agent.ts 93.22% <60.00%> (ø)

@TimoGlastra TimoGlastra merged commit 93276de into openwallet-foundation:main Aug 18, 2023
@TimoGlastra TimoGlastra deleted the fix/create-message-subscription-firt branch August 18, 2023 14:00
auer-martin pushed a commit to auer-martin/aries-framework-javascript that referenced this pull request Nov 15, 2023
auer-martin pushed a commit to auer-martin/aries-framework-javascript that referenced this pull request Dec 4, 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.

3 participants