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

Import prefix is missing #153

Open
dselman opened this issue Mar 2, 2022 · 2 comments
Open

Import prefix is missing #153

dselman opened this issue Mar 2, 2022 · 2 comments

Comments

@dselman
Copy link
Contributor

dselman commented Mar 2, 2022

Bug Report 🐛

We've lost the URL prefix for the from imports. I think there's an env var you have to set for that when you generate.

Expected Behavior

Imports should use fully-qualified URLs:

import com.docusign.connect.EnvelopeStatusCode from https://models.accordproject.org/docusign/connect.cto

Current Behavior

import com.docusign.connect.EnvelopeStatusCode from /docusign/connect.cto

Possible Solution

Set the environment variable for the host name and regenerate.

Steps to Reproduce

  1. Browse a model at https://models.accordproject.org
@dipit-s
Copy link

dipit-s commented Mar 9, 2022

@dselman I would like to work on this issue. I have understood what is going wrong here.I will try to find why the variable is not accessible and fix that. (It seems that it has not been assigned in the build.js file)
Could you please assign it to me.

@apoorvsxna
Copy link

Hi @dselman. Just made a pull request. I think the issue should be resolved now. Let me know if any changes are required.

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 a pull request may close this issue.

3 participants