-
-
Notifications
You must be signed in to change notification settings - Fork 6.4k
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
Bug with @VirtualColumn not being returned correctly #10638
Comments
Same here, with latest 0.3.19. |
How do you select the virtual column, can you give an example of the implementation? |
As an example, usage of the repository |
Yeah, we are experiencing the same issue, virtual column stopped working. this is urgent |
@jorenvandeweyer |
Same here -> Upgraded from 0.3.17 to 0.3.19 (latest) and everything related to VirtualColumn breaks. |
Same here -> |
I have the Same issue. Upgraded from 0.3.17 to 0.3.19 and everything related to VirtualColumn breaks. |
not working with us too after update from 0.3.17 |
still broken in 0.3.20 |
Any news on open MR ? |
@gwen1230 I think they are not going to fix this because not much people are using virtual column, so for stability either downgrade or switch to Prisma instead. |
I've seen this too after upgrading. A possible workaround is to pass a select which includes the virtual column, but this isn't great as you then have to pass all the fields that you want to be returned. |
Tried this but didn't seem to work, TypeORM is trying to load the column from the actual table. Did you have any success with it? If the general direction is to manually select virtualcolumns that would also be fine (there should probably be an eager option on the decorator in that case). The previous virtualcolumn functionality was ideal imo. Curious why these breaking changes were implemented from a benefit stand-point. Will try and compare prev and curr implementation for possible ideas |
Any updates? I would appreciate some fix here it will be really helpful 🙏🏼 |
any updates on this? |
Any news on this, please? Many production environments are affected by this, please. |
@fatlirmorina The solution is to install 0.3.17 |
Any news on this |
1 similar comment
Any news on this |
Any news on this |
Unfortunately not, still awaiting PR approval. |
Have you got any update on this yet? |
Unfortunately still no response. I'm already thinking about creating a fork of the project. |
+1 |
I'd also like to offer my own fork as a solution. I took e7649d2 and applied the fix of #10698, and it is published as
which will fix this issue. |
+1 |
2 similar comments
+1 |
+1 |
Does #10927 fix this issue? |
Seems like there are several PRs which aim to fix this, right? I am not too deep in the issue but I see a lot of attention here and effort from several people to fix this. @pleerock could you please take a look at them (check whether they look good) and comment on what is needed to be done before they can be merged? (or basically any of them - whichever looks best and fixes the issue) |
People: TypeORM is abandoned. There are no active maintainers anymore. This issue is indeed fixed (a couple of times even) but there is noone to merge the fixes. The last commit is 8 months ago, there are 2.4k issues, and 160 open PRs. |
Issue description
@VirtualColumn not being returned correctly
Expected Behavior
It was expected that @VirtualColumn would return the correct values according to the logic defined in the decorator.
Actual Behavior
DNS column is not being returned
Steps to reproduce
My Environment
Additional Context
No response
Relevant Database Driver(s)
Are you willing to resolve this issue by submitting a Pull Request?
Yes, I have the time, and I know how to start.
The text was updated successfully, but these errors were encountered: