Skip to content

Commit

Permalink
Merge pull request #39 from noukaza/patch-1
Browse files Browse the repository at this point in the history
TYPO: update README.md
  • Loading branch information
bashleigh authored Apr 26, 2023
2 parents e93c870 + 0ef4baa commit 9663935
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -107,9 +107,9 @@ id | entityId | entityType

## Decorators

Both `PolymorphicChildren` and `PolymophicParent` are treated same. Currently some of the default values are different but eventually these method should be synonyms of one another. They have different names because it helped me describe the relationship directions which could be explained as 'parent' 'child' in different ways.
Both `PolymorphicChildren` and `PolymorphicParent` are treated same. Currently some of the default values are different but eventually these method should be synonyms of one another. They have different names because it helped me describe the relationship directions which could be explained as 'parent' 'child' in different ways.

`PolymophicRepository` allows you to define a custom typeorm repository and then
`PolymorphicRepository` allows you to define a custom typeorm repository and then
instantiate it later via `AbstractPolymorphicRepository.createRepository(...)`.

### Ambiguous direction
Expand Down

0 comments on commit 9663935

Please sign in to comment.