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

Reference.load() should return Loaded<> when populating #3755

Closed
parisholley opened this issue Nov 15, 2022 · 1 comment
Closed

Reference.load() should return Loaded<> when populating #3755

parisholley opened this issue Nov 15, 2022 · 1 comment
Labels
enhancement New feature or request
Milestone

Comments

@parisholley
Copy link
Contributor

Is your feature request related to a problem? Please describe.
When calling reference.load(), the return type is Promise<T> instead of Promise<Loaded<T,P>>

Describe the solution you'd like
Add more overloads to the load type

@parisholley parisholley added the enhancement New feature or request label Nov 15, 2022
@parisholley parisholley changed the title Reference.load() should return populated object Reference.load() should return Loaded<> when populating Nov 15, 2022
parisholley added a commit to parisholley/mikro-orm that referenced this issue Nov 15, 2022
@B4nan
Copy link
Member

B4nan commented Feb 5, 2023

And looks like with the changes I made in #4012 we can also resolve this, I just need to drop the function overload.

@B4nan B4nan added this to the 6.0 milestone Feb 5, 2023
B4nan added a commit that referenced this issue Feb 5, 2023
@B4nan B4nan closed this as completed Feb 5, 2023
B4nan added a commit that referenced this issue Feb 5, 2023
B4nan added a commit that referenced this issue Feb 12, 2023
B4nan added a commit that referenced this issue Feb 17, 2023
B4nan added a commit that referenced this issue Feb 17, 2023
B4nan added a commit that referenced this issue Feb 26, 2023
B4nan added a commit that referenced this issue Mar 19, 2023
B4nan added a commit that referenced this issue Apr 6, 2023
B4nan added a commit that referenced this issue Apr 10, 2023
B4nan added a commit that referenced this issue Apr 12, 2023
B4nan added a commit that referenced this issue Apr 26, 2023
B4nan added a commit that referenced this issue May 14, 2023
B4nan added a commit that referenced this issue May 14, 2023
B4nan added a commit that referenced this issue May 24, 2023
B4nan added a commit that referenced this issue May 26, 2023
B4nan added a commit that referenced this issue Jun 11, 2023
B4nan added a commit that referenced this issue Sep 10, 2023
B4nan added a commit that referenced this issue Sep 20, 2023
B4nan added a commit that referenced this issue Sep 24, 2023
B4nan added a commit that referenced this issue Sep 30, 2023
B4nan added a commit that referenced this issue Oct 2, 2023
B4nan added a commit that referenced this issue Oct 17, 2023
B4nan added a commit that referenced this issue Oct 21, 2023
B4nan added a commit that referenced this issue Oct 25, 2023
B4nan added a commit that referenced this issue Nov 2, 2023
B4nan added a commit that referenced this issue Nov 5, 2023
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

Successfully merging a pull request may close this issue.

2 participants