loopback4 Questions

4

Solved

I have a controller method // ... inside a controller class @get('/error', {}) async error() { throw new Error("This is the error text"); } The response I'm getting from this error front-end i...
Ponder asked 22/3, 2019 at 22:57

1

We are currently migrating a loopback3 application to loopback4. The migration of the server is steight forward, but migrating the angular client seems become an issue because of the "sdk". For lo...
Misogynist asked 11/9, 2019 at 14:17

2

Solved

I am using mongodb with loopback and on successful connection I am getting below warning Top-level use of w, wtimeout, j, and fsync is deprecated. Use writeConcern instead. loopback version: 5.5.0...
Immense asked 25/2, 2021 at 18:55

1

Solved

I want to query Exercise model objects and include related objects (relation: athletExerciseLogsExercise). But I need only 1 related object, thats why I add "limit: 1" to inclusion scope:...
Revengeful asked 19/3, 2021 at 13:4

2

I have the following 500 error when executing a controller with Loopback 4. Unhandled error in GET /v1/me/societes: 500 Error: No design-time type metadata found while inspecting FirebaseAuthServic...
Morrissette asked 20/11, 2020 at 11:4

1

I have an endpoint where both users and guests (not authenticated) can post data to: async create( @requestBody({ content: { 'application/json': { schema: { type: 'object', properties: { c...
Ampere asked 9/6, 2020 at 19:8

1

Solved

In Abstract How to use Loopback 4 service generator and create local service class to handle data outside the *.repository or *.controller In Detail I'm developing a system that requires external A...
Numen asked 27/8, 2019 at 13:49

1

Solved

I noticed some TypeScript node modules (e.g loopback-next/packages) publish their source files with the node module. Is there a particular reason for this or is it just unnecessarily increasing the...
Musa asked 16/8, 2019 at 20:0

2

Solved

I know that by default loopback 4 infers the name of the mysql database table from the model class or repository class. How can I set the table name to a custom string value? Probably I have to use...
Stertorous asked 15/10, 2018 at 18:59
1

© 2022 - 2024 — McMap. All rights reserved.