ucast icon indicating copy to clipboard operation
ucast copied to clipboard

fix(objection): table name 'xxx' specified more than once

Open MoJo2600 opened this issue 3 years ago • 3 comments

When a relation was already joined with withGraphJoined, ucast was adding the relation a second time. Now a check for the relation is performed.

fixes #17

MoJo2600 avatar Apr 30 '21 13:04 MoJo2600

Is there a place to add unit tests for this functionality? I tried pnpm test but it told me that test was not found.

MoJo2600 avatar Apr 30 '21 13:04 MoJo2600

tests lives in a package folder.

stalniy avatar Apr 30 '21 14:04 stalniy

https://github.com/stalniy/ucast/blob/master/packages/sql/spec/objection.spec.ts

stalniy avatar Apr 30 '21 14:04 stalniy