strongloop Questions

1

Solved

$ sudo npm install -g strongloop > [email protected] install /usr/lib/node_modules/strongloop/node_modules/heapdump > node-gyp rebuild gyp ERR! configure error gyp ERR! stack Error: Can't ...
Pustule asked 15/3, 2016 at 10:38

1

I want to upload a file to a storage container using the Loopback storage service. But the .upload() method expects a request object. But what if I want to upload an existing file that's not comi...
Sousa asked 12/10, 2015 at 9:44

1

I need to override the GET on strongloop. So when I GET foo/ it returns something different as the default one. I tried using remoteMethod with http: {path: '/', verb: 'get'} without success. How...
Aekerly asked 10/2, 2016 at 22:5

1

Solved

I have an issue where when I pass two object types as a remote method argument, the first argument gets overwritten by the second argument. Below is code and results. How could I go about not havin...
Shotgun asked 10/2, 2016 at 19:44

1

Some questions that I can't find the answer to in the documentation. I'm trying to get a structure like this: Node: id: '1sdf12asd123', name: 'node1', history: [ ts: 234234234234, data: {...
Mariannamarianne asked 29/1, 2016 at 9:40

1

I am using loopback framework with nodejs. Is it possible to connect multiple database at a time. For example I have two different database. 1. Mysql Database - A 2. Postgresql - B Some pages ...
Inferential asked 9/2, 2016 at 7:52

1

Solved

Is it possible to hide the id attribute in a method in swagger-ui generated by explorer in Strongloop Loopback? I don want the user to create a new resource and send the id attribute. I know that i...
Gentilesse asked 27/1, 2016 at 14:18

1

Solved

I try override find api of strongloop rest endpoint. I want to return an array of objects. But how do I specify the schema for the object? As you can see from the picture above, the model schema ...
Hoseahoseia asked 25/1, 2016 at 2:2

1

My project includes web and android client. I want to combine Google cross platform sign-in and loopback third-party login. In my scenario, I will never ask username and password. User only uses G...
Geneviegenevieve asked 30/5, 2015 at 21:39

3

I seem to be stuck on a classic ORM issue and don't know really how to handle it, so at this point any help is welcome. Is there a way to get the pivot table on a hasManyThrough query? Better yet,...
Wistrup asked 22/12, 2015 at 9:52

2

Solved

Is there a prescribed way to create a custom validator in loopback? As an example, assume that I want to create something like: Validatable.validatesRange('aProperty', {min: 0, max: 1000}) Pleas...
Preliminaries asked 17/9, 2015 at 13:38

3

Is there a built-in way to auto increment a model's property value is Strongloop loopback ? This model has a property named orderNumber and I want it to start at 1 and increment by 1 every time a n...
Huff asked 2/1, 2015 at 16:19

1

Solved

I use LoopbackJS framework for Node.js (the same as Express because it is based on Express). And I cannot set React server side rendering. I followed this article, and answers here on Stackoverflow...
Ovoid asked 21/11, 2015 at 2:20

1

Solved

I'm trying to do a not in query in loopback.io. But couldn't find any feature related to that. Here is what I have tried: Product.find({ where: { name: { like: '%' + searchTerm + '%' }, id: {...
Firebrand asked 9/11, 2015 at 8:37

1

Solved

Is there any way to query results on Loopback+MongoDB with Diacritic-Case-Insensitive options? For example, If I want to search for the query olimpic, and the database contains words like: Olímpi...
Gaspar asked 2/11, 2015 at 14:53

1

Solved

I have followed the loopback offline sync example and create my own model with embedded document. I created a Model named Project where ProjectMembers are embedded model. Here are my model: Project...
Criminality asked 11/10, 2015 at 12:34

1

Solved

According to the documentation you can create custom response classes; https://docs.strongloop.com/display/public/LB/Remote+methods#Remotemethods-Argumentdescriptions The remote method description...
Ment asked 1/10, 2015 at 13:9

2

Solved

My problem is that I can't figure out how to get multilevel relations structures in one request with LoopBack backend. I have 3 models: Continent, Country, County. What I would like to do is to GET...
Oxblood asked 17/3, 2015 at 16:10

2

Ember Data's REST Adapter accepts the JSON from the server in this format: Taken from the documentation: http://guides.emberjs.com/v1.10.0/models/the-rest-adapter/ { "post": { "id": 1, "title"...
Esquivel asked 25/4, 2015 at 9:15

3

Solved

I have User model over relational DB. Each User can hasMany "users" where "chiefId" is FK. "relations": { "users": { "type": "hasMany", "model": "User", "foreignKey": "chiefId" }, } I can ...
Corselet asked 18/11, 2014 at 15:1

1

When defining relation using "slc loopback:relation", it prompts about "through model" at the last line. ? Select the model to create the relationship from: CoffeeShop ? Relation type: has many ? ...
Nirvana asked 2/8, 2015 at 14:49

2

This is maddening, how do I get a hold of a loopback model so I can programmatically work with it ? I have a Persisted model named "Notification". I can interact with it using the REST explorer. I ...
Scission asked 20/10, 2014 at 1:26

2

We have a web app that's using LoopBack from Strongloop for the API and backend, and Angular on the frontend, with Cordova used to package for mobile. The web app and iOS target from Cordova work g...
Butyraceous asked 18/6, 2015 at 17:30

5

Solved

How can i access the details of the user who raise the request from a Model Hook Comment.beforeSave = function(next,com) { //Want to add 2 more properties before saving com.added_at = new Date()...
Warmup asked 14/11, 2014 at 10:24

2

Solved

It looks like the built in LoopBack models are baked with "create/modified" date fields. Is there an easy way to add this to "generated" models? I've been looking through the docs but can't find an...
Preface asked 18/2, 2015 at 21:39

© 2022 - 2024 — McMap. All rights reserved.