Skip to content

Commit

Permalink
Interface object implementation (#38)
Browse files Browse the repository at this point in the history
This should close #7

The code is dirty... but it seems to be working 

**leftovers**
- [x] there are some global tests failing... I need to check and address
those.

---------

Co-authored-by: Troy Kohler <[email protected]>
  • Loading branch information
2 people authored and kamilkisiela committed Mar 15, 2024
1 parent 991935b commit 47b155d
Show file tree
Hide file tree
Showing 11 changed files with 946 additions and 31 deletions.
11 changes: 0 additions & 11 deletions __tests__/composition.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2983,17 +2983,6 @@ testImplementations(api => {
return;
}

if (api.library === 'guild') {
// TODO: we don't support @interfaceObject yet
assertCompositionFailure(result);
expect(result.errors).toContainEqual(
expect.objectContaining({
message: expect.stringContaining('@interfaceObject is not yet supported'),
}),
);
return;
}

assertCompositionSuccess(result);

// KNOW: which interface should be extended by @interfaceObject
Expand Down
Loading

0 comments on commit 47b155d

Please sign in to comment.