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

two-phase create-and-exercise with unified exercise methods in Java #14037

Merged
merged 34 commits into from
Jun 2, 2022

Conversation

S11001001
Copy link
Contributor

@S11001001 S11001001 commented May 31, 2022

Fixes #13920.

CHANGELOG_BEGIN
- [Java codegen] ``createAndExercise*`` and ``exerciseByKey*`` methods
  are deprecated; instead, use the new ``createAnd().exercise*`` and
  ``byKey(key).exercise*`` methods.

  When the ledger API supports it, interface choices will be reachable
  via ``createAnd().toInterface(Ifc.INTERFACE).exercise*`` and
  ``byKey(key).toInterface(Ifc.INTERFACE).exercise*``, exactly the
  syntax supported by contract-ID exercise; see #14056.
CHANGELOG_END

@S11001001 S11001001 added component/java-ecosystem Java development experience team/ledger-clients Related to the Ledger Clients team's components. labels May 31, 2022
@S11001001 S11001001 self-assigned this May 31, 2022
@S11001001 S11001001 marked this pull request as ready for review June 1, 2022 19:23
@S11001001 S11001001 requested a review from a team June 1, 2022 19:23
Base automatically changed from 13919-to-interface-overloads-java-codegen to main June 2, 2022 10:28
S11001001 added 16 commits June 2, 2022 07:09
CHANGELOG_BEGIN
- [Java codegen] ``createAndExercise*`` and ``exerciseByKey*`` methods
  are deprecated; instead, use the new ``createAnd().exercise*`` and
  ``byKey(key).exercise*`` methods.

  When the ledger API supports it, interface choices will be reachable
  via ``createAnd().toInterface(Ifc.INTERFACE).exercise*`` and
  ``byKey(key).toInterface(Ifc.INTERFACE).exercise*``, exactly the
  syntax supported by contract-ID exercise; see #14056.
CHANGELOG_END
@stephencompall-DA stephencompall-DA force-pushed the 13920-java-two-phase-createAnd branch from 9bbe6d0 to 43ef7ea Compare June 2, 2022 11:11
@S11001001 S11001001 enabled auto-merge (squash) June 2, 2022 11:14
@S11001001 S11001001 merged commit 4f7eefc into main Jun 2, 2022
@S11001001 S11001001 deleted the 13920-java-two-phase-createAnd branch June 2, 2022 12:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component/java-ecosystem Java development experience team/ledger-clients Related to the Ledger Clients team's components.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

unified by-contract-ID/createAnd exercise interface, deprecate createAndExercise methods
2 participants