Questions tagged [nest]
NEST is a .NET client for elasticsearch
nest
3,192
questions
-1
votes
0
answers
9
views
the value of the env file is not getting in the configuration file in nest js
My problem is I created a nest js application in this app I created a configuration file as per the reference of the official docs of nest js here we are providing the process.env.Port .....etc
but ...
0
votes
0
answers
15
views
On running Nest & Typescript API, module cannot be found unless extension explicitly changed to .js
I am working on a personal project to try to get a new dev role. I am using NestJS and Typescript to try to make a simple API (will later hook up some endpoints to a website, just want to show some ...
0
votes
0
answers
17
views
Elastic Search 5.5.2 with Nest 6.0 C#
I am using Nest 5.6.1 in my code with 5.5.2 Elastic Search. Due to a dependency of other packages, Nest needs to be updated to 6.0. When the Nest package is updated to 6.0, I am getting this error:
...
1
vote
1
answer
32
views
Nest. How to Delete documents by terms
Can't delete documents from the elastic index.
Tried this code, but it didn't work
string[] stringIds = categoryIds.Select(i => i.ToString()).ToArray();
var client = new ...
0
votes
1
answer
17
views
nest-keycloak-connect realmUrl missing first part of the url
I'm working on a nest.js API with Swagger and keycloak. Currently I'm trying to change the library I'm using from keycloak-connect (which is working to authenticate and authorize user) to nest-...
0
votes
1
answer
23
views
Why does the Nest decorator work for any request, even when the decorator is not present?
I pointed out the decorator in one place, but it didn't work at all. Then, I connected the guardian to the module as shown in the documentation. Now, the guardian is processing any request.
export ...
0
votes
1
answer
55
views
Looking up values from a diiferent index to the one being searched
Let's say we have an index for Jobs to be carried out called "jobs". In this index there is a field called localityId which is a string that represnets where the job location is. This string ...
0
votes
1
answer
34
views
Type 'number' has no properties in common with type 'FindOneOptions<Teacher>'
I keep gettin this error
Type 'number' has no properties in common with type 'FindOneOptions<Teacher>'.
here;
const teacher = await this.teachersRepository.findOne(teacherId);
if (!teacher) ...
0
votes
1
answer
190
views
Object literal may only specify known properties, and 'id' does not exist in type 'FindOptionsWhere<Teacher>
I keep getting this error
in my teachers.service:
Object literal may only specify known properties, and 'id' does not exist in type 'FindOptionsWhere | FindOptionsWhere[]'.ts(2353)
FindOneOptions.d....
0
votes
0
answers
24
views
QueryFailedError: invalid input syntax for type integer: "search"
I have been doing to correct this but still getting the error
user.controller.ts
import {
Controller,
Get,
Query,
ValidationPipe,
} from '@nestjs/common';
import { UserService } from './users....
-1
votes
0
answers
39
views
How do I call parent id into with() where() condition when using eloquent eager loading?
$data = TABLETWO::select('id','table_one_id','name','status')
->with(['table_three'=>function($qry2) {
$qry2->where('table_one_id', 'pointer to previous parent column ...
-1
votes
1
answer
23
views
How to write an interceptor in nest
How to write an interceptor in nest, use documentation, carry out authentication. An interceptor is a class annotated with the @Injectable() decorator and implements the NestInterceptor interface.
...
0
votes
0
answers
33
views
Filter empty string on Nest and .NET Core
I am trying to filter out empty string fields on my db
when i try query = e => e.Bool(b => b.Must(m => m.Term(m => m.Field(field).CaseInsensitive(true).Value("123"))));
its gives ...
1
vote
1
answer
311
views
Can't Enable Pub/Sub Topic For My Project
I have a project created and when I try to enable events (aka a Pub/Sub topic) I just get an error "Could not update project data". I've tried multiple projects and have the same issue.
0
votes
0
answers
14
views
Only pingpong data is received from an external web socket
I am implementing logic that receives real-time stock prices from an external websocket (KIS WebSocket) and sends this information to the front end.
The structure is:
React (frontend) - Nest.js (...