models icon indicating copy to clipboard operation
models copied to clipboard

Import prefix is missing

Open dselman opened this issue 2 years ago • 2 comments

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

dselman avatar Mar 02 '22 21:03 dselman

@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.

dipit-s avatar Mar 09 '22 07:03 dipit-s

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

apoorvsxna avatar Mar 26 '24 14:03 apoorvsxna