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

Normalize and document the format for referring to templates #84

Open
da-tanabe opened this issue Apr 24, 2020 · 0 comments
Open

Normalize and document the format for referring to templates #84

da-tanabe opened this issue Apr 24, 2020 · 0 comments

Comments

@da-tanabe
Copy link
Contributor

Since the introduction of package IDs in DAML many years ago, a few unofficial and ad-hoc stringifications of templates have existed, and dazl has attempted to support them all, and has additionally never had an official one.

Standardize on the current format as defined by https://docs.daml.com/json-api/index.html:

  • <package ID>:<module>:<template>
  • <module>:<template>

Older formats should continue to work, but a deprecation warning will be printed if they are used:

  • <module>.<template>@<package ID>
  • <module>:<template>@<package ID>
  • <module>.<template>

Ensure that this format is documented as well.

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

No branches or pull requests

1 participant