Felix
Felix
same error ``` > DOCHAT_DEBUG=true ./dochat.sh ____ ____ _ _ | _ \ ___ / ___| |__ __ _| |_ | | | |/ _ \| | | '_ \...
@MaceWindu That maybe the cause! I use the functions from https://www.npgsql.org/efcore/mapping/full-text-search.html#operation-translation, did not notice the EF namespace, hoping it would just work (but it didn't). I also tried the following...
I tried these approaches too: ```c# public async Task UpdateEventSearchIndex(Guid key) { return await Events .Where(x => x.Id == key) .UpdateAsync(x => new Event { SearchVector = EF.Functions.ToTsVector("test") }); }...
@MaceWindu It worked! Do you have an example on how to do an operator mapping like this `tsquery1 || tsquery2`?
Thank you! This should worth a chapter in the documentation. Final question, when I try to do something like this: ```c# [Sql.Function("setweight", ServerSideOnly=true)] public static NpgsqlTsVector SetWeight(NpgsqlTsVector vector, NpgsqlTsVector.Lexeme.Weight weight)...
Never mind, I resolved this by defining a custom weight enum using char as the representation.
> For anyone tripping over this, it is possible to work around this by using [] on your records @timotheegloerfeld Did you find a way to represent non-nullable type in...
> > For anyone tripping over this, it is possible to work around this by using [] on your records > > @timotheegloerfeld Did you find a way to represent...
Is it possible to represent non-nullable GraphQL type by F# record? now I can do nullable type by [this method](https://github.com/ChilliCream/hotchocolate/issues/2143#issuecomment-816554066): ```F# [] type Author = { Name: string } []...
Never mind, I found this `[]` attribute is exactly what I want.