Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add @OneToOne decorator #37

Closed
B4nan opened this issue Apr 7, 2019 · 0 comments
Closed

Add @OneToOne decorator #37

B4nan opened this issue Apr 7, 2019 · 0 comments
Assignees
Labels
enhancement New feature or request
Milestone

Comments

@B4nan
Copy link
Member

B4nan commented Apr 7, 2019

Functionally pretty much the same as @ManyToOne, but can have more strict validation. Also handy for schema generation, as one can choose owning side as opposed to @ManyToOne, plus we can add UNIQUE index on 1:1 column.

Another difference will be support for orphan removal (#36), which cannot be used with @ManyToOne.

@B4nan B4nan added the enhancement New feature or request label Apr 7, 2019
@B4nan B4nan added this to the 2.2 milestone Apr 7, 2019
@B4nan B4nan self-assigned this Apr 7, 2019
B4nan added a commit that referenced this issue Apr 10, 2019
B4nan added a commit that referenced this issue Apr 11, 2019
B4nan added a commit that referenced this issue Apr 11, 2019
@B4nan B4nan closed this as completed in #42 Apr 11, 2019
B4nan added a commit that referenced this issue Apr 11, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant