Skip to content

Commit

Permalink
Merge pull request #10 from DianaLease/dlease/compile-to-target-changes
Browse files Browse the repository at this point in the history
feat(server): show relationships and hide base model when compiling to target
  • Loading branch information
mttrbrts authored Feb 2, 2023
2 parents 925b717 + 8fd36be commit 7318fed
Show file tree
Hide file tree
Showing 3 changed files with 55 additions and 53 deletions.
98 changes: 49 additions & 49 deletions server/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions server/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@
"url": "https://github.com/accordproject/vscode-web-extension.git"
},
"dependencies": {
"@accordproject/concerto-core": "^3.2.0",
"@accordproject/concerto-cto": "^3.2.0",
"@accordproject/concerto-tools": "^3.2.0",
"@accordproject/concerto-core": "^3.5.0",
"@accordproject/concerto-cto": "^3.5.0",
"@accordproject/concerto-tools": "^3.5.0",
"@ts-morph/bootstrap": "^0.18.0",
"@typescript/vfs": "^1.4.0",
"browserify-zlib": "^0.2.0",
Expand Down
4 changes: 3 additions & 1 deletion server/src/commands/concertoCompile.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,9 @@ export async function concertoCompileToTarget(state: LanguageServerState, event:
const visitor = new visitorClass();
const imw = new InMemoryWriter();
const parameters = {
fileWriter: imw
fileWriter: imw,
showCompositionRelationships: true,
hideBaseModel: true,
} as any;
state.modelManager.accept(visitor, parameters);
const uri = URI.parse(event.uri);
Expand Down

0 comments on commit 7318fed

Please sign in to comment.