forked from accordproject/concerto
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(*): detect field to relationship, scalar to array (contributes to …
…accordproject#442) Signed-off-by: Simon Stone <[email protected]>
- Loading branch information
Simon Stone
authored and
Simon Stone
committed
Aug 5, 2022
1 parent
b7d6cc7
commit a85f35b
Showing
7 changed files
with
122 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
9 changes: 9 additions & 0 deletions
9
packages/concerto-analysis/test/fixtures/field-to-relationship-a.cto
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
namespace [email protected] | ||
|
||
concept Bar { | ||
|
||
} | ||
|
||
concept Thing { | ||
o Bar bar | ||
} |
9 changes: 9 additions & 0 deletions
9
packages/concerto-analysis/test/fixtures/field-to-relationship-b.cto
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
namespace [email protected] | ||
|
||
concept Bar { | ||
|
||
} | ||
|
||
concept Thing { | ||
--> Bar bar | ||
} |
9 changes: 9 additions & 0 deletions
9
packages/concerto-analysis/test/fixtures/scalar-to-array-a.cto
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
namespace [email protected] | ||
|
||
concept Bar { | ||
|
||
} | ||
|
||
concept Thing { | ||
o Bar bar | ||
} |
9 changes: 9 additions & 0 deletions
9
packages/concerto-analysis/test/fixtures/scalar-to-array-b.cto
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
namespace [email protected] | ||
|
||
concept Bar { | ||
|
||
} | ||
|
||
concept Thing { | ||
o Bar[] bar | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters