-
Notifications
You must be signed in to change notification settings - Fork 29
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
ParticipantContextServiceImpl createParticipantContext does not configure did #347
Comments
Thanks for your contribution 🔥 We will take a look asap 🚀 |
Not sure this is a bug. Please take a look at the |
Not sure I fully understand. I did check out Basically I create a participant during startup, call participantContextService.createParticipantContext etc., then later I have a participantId and I want to get the associated did for that Participant. I am unable to use ParticipantContextService to get the did as it never seems to be set and so it returns null. |
The QuerySpec.Builder.newInstance()
.filter(new Criterion("participantId", "=", participantId))
.build() I did notice however, that the |
Bug Report
Describe the Bug
When a new participant is created using ParticipantContextServiceImpl.createParticipantContext, did is not configured.
Expected Behavior
Did to be set according to the ParticipantManifest.
Observed Behavior
Did is set to null.
Steps to Reproduce
Create a ParticipantManifest (with did) and create a ParticipantContext using ParticipantContextServiceImpl.createParticipantContext. When retrieving the newly created ParticipantContext object, did will be null.
Possible Implementation
Call the did builder method in convert, using the did as defined in the manifest
The text was updated successfully, but these errors were encountered: