Skip to content

Set Left Join as Default when field is nullable #106

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

Open
zalito12 opened this issue Feb 22, 2025 · 0 comments
Open

Set Left Join as Default when field is nullable #106

zalito12 opened this issue Feb 22, 2025 · 0 comments
Labels
enhancement New feature or request

Comments

@zalito12
Copy link

Feature request

IMHO The join type should be left when the reference field is optional/nullable, for example:

[Reference(typeof(SCollection), ReferenceAttribute.JoinType.Left)]
public SCollection? Collection { get; set; }

Describe the solution you'd like

I'm pretty new to C# so I'm not sure if this is possible, I would say that you cannot do this with Java annotations.

If this is possible, I don't mind to learn how annotations work in C# and help with this change.

@zalito12 zalito12 added the enhancement New feature or request label Feb 22, 2025
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