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

Interceptors in LinqPad #115

Open
asherber opened this issue Jul 12, 2024 · 3 comments
Open

Interceptors in LinqPad #115

asherber opened this issue Jul 12, 2024 · 3 comments

Comments

@asherber
Copy link

I'm connecting to a Postgres db using LinqPad 8 and Linq2DB. Some of my columns use a user-defined type, which Linq2DB presents as Object. Is there some way to inject a scaffold interceptor to map this type to String?

@MaceWindu
Copy link
Contributor

Currently not possible

@ItWorksOnMyMachine
Copy link

Biggest issue for me related to this item is that citext is represented as object. To use it as a string, it has to be cast to a string which gets interpreted as a "text" type cast in postgresql. That of course stops indexes from being used.

@MaceWindu
Copy link
Contributor

@ItWorksOnMyMachine while it could be covered by interceptor, I think it should be fixed on our side. Created corresponding issue linq2db/linq2db#4818

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

3 participants