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 signatories and observers to `CreatedEvent`s in API #1269

Closed
bame-da opened this issue May 21, 2019 · 5 comments

Comments

Projects
None yet
3 participants
@bame-da
Copy link
Contributor

commented May 21, 2019

In order to know whether I need to disclose a contract to a counter-party or not, I need to know whether the counter-party is already an observer. Since signatory and observer in DAML take arbitrary expressions, computing the observers of a contract instance in the application layer is difficult. I would therefore like to receive them as part of the CreateEvent of the instance.

@bame-da

This comment has been minimized.

Copy link
Contributor Author

commented May 21, 2019

As discussed, @stefanobaghino-da

@stefanobaghino-da stefanobaghino-da self-assigned this May 24, 2019

@stefanobaghino-da stefanobaghino-da changed the title Add `observer` to `CreateEvent` in API Add `observer` to `CreatedEvent` in API May 27, 2019

@gyorgybalazsi

This comment has been minimized.

Copy link

commented May 29, 2019

Hi guys, I'm glad this issue has already been opened. Do you plan to include into it the feature that the Navigator UI displays the observers to a contract? I'd like to see that feature for a project of mine.

@stefanobaghino-da

This comment has been minimized.

Copy link
Member

commented May 29, 2019

That would be the idea, yes, thanks for bringing this up.

@stefanobaghino-da stefanobaghino-da changed the title Add `observer` to `CreatedEvent` in API Add signatories and observer to `CreatedEvent` in API Jun 18, 2019

@stefanobaghino-da stefanobaghino-da changed the title Add signatories and observer to `CreatedEvent` in API Add signatories and observers to `CreatedEvent` in API Jun 18, 2019

@stefanobaghino-da stefanobaghino-da changed the title Add signatories and observers to `CreatedEvent` in API Add signatories and observers to `CreatedEvent`s in API Jun 18, 2019

@mergify mergify bot closed this in #1814 Jun 26, 2019

@stefanobaghino-da

This comment has been minimized.

Copy link
Member

commented Jun 26, 2019

@gyorgybalazsi Took a while, should be available from the next release (current is 0.13.7).

@gyorgybalazsi

This comment has been minimized.

Copy link

commented Jul 2, 2019

@stefanobaghino-da cool, will check it out asap!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.