Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • Jan 31 2019 16:43
    uniconstructor edited #4126
  • Jan 31 2019 16:41
    uniconstructor edited #4126
  • Jan 31 2019 16:41
    uniconstructor opened #4126
  • Jan 31 2019 03:44
    dzungh0ang closed #4123
  • Jan 30 2019 00:25
    techaks closed #4125
  • Jan 30 2019 00:02
    techaks edited #4125
  • Jan 30 2019 00:01
    techaks opened #4125
  • Jan 29 2019 23:33
    jkpulido opened #4124
  • Jan 29 2019 13:32
    nabdelgadir closed #4114
  • Jan 29 2019 09:17

    bajtos on add-node10

    (compare)

  • Jan 29 2019 07:13
    dzungh0ang opened #4123
  • Jan 29 2019 04:25
    dhmlau closed #3881
  • Jan 28 2019 13:14
    bajtos edited #4119
  • Jan 28 2019 12:47
    bajtos labeled #4121
  • Jan 28 2019 12:46
    bajtos labeled #4118
  • Jan 28 2019 12:46
    bajtos labeled #4118
  • Jan 28 2019 12:46
    bajtos labeled #4118
  • Jan 28 2019 12:46
    bajtos assigned #4118
  • Jan 25 2019 19:50
    dhmlau closed #3906
  • Jan 25 2019 19:13
    mschnee synchronize #4119
Rifa Achrinza
@achrinza
Hi everyone, gentle reminder that Slack is the recommended platform for the community. A link can be found on https://loopback.io navbar. strongloop/loopback-next#5048 also documents this shift to Slack.
vincentmarkcelino
@vincentmarkcelino
Hi
I know it's old question but i cant really find solution for my issue

var app = require('../../server/server');
console.log(app.models.Book);

it gives me undefined.

im using 3.x anyway.
Antonio Vargas
@juanantoniodamianv
Hi all! Anybody here using loopback 3? How I can see what method of encryptation is used in the password encrypt?
Thinh Nguyen
@thinhnk
Hi everyone, i have an issue with define model relation
i have 3 table
1: user (id, username)
2: role (id, rolename, roleKey)
3: user_role (userid, roleKey)
how to define a relation user has many roles thought user_role table?
i'm use loopback3
Thinh Nguyen
@thinhnk
"roles": {
"type": "hasMany",
"model": "role",
"foreignKey": "userid",
"through": "user_role",
"keyThrough": "roleKey"
}
that's was not work now
Mohammad Hossein Mardani
@mhmardani
hi, guys, I'm node js developer with over 5 years experience and now I'm looking for a development team to join them for work on startups, open-source projects, is anyone here to accept me :)
Chinh Le
@dangchinh2501_gitlab
hi guys, do you have any guide/tutorial to learn more about loopback? I'm just starting out and there are not many tutorials I can find online, and most of them is just using the cli to generate code, it doesn't help me to understand and use the framework, is there any tutorial that not only use the cli but actually write some new code? Thank you so much for your time!
Diana Lau
@dhmlau
@dangchinh2501_gitlab, here is a YouTube video created by one of our maintainers: https://www.youtube.com/watch?v=cgBCRY169qg&feature=youtu.be. It explains pretty well about the framework.
Here is a list of tutorials: https://loopback.io/doc/en/lb4/Tutorials.html. Hope can help you started.
For further questions, please join our Slack community: https://join.slack.com/t/loopbackio/shared_invite/zt-8lbow73r-SKAKz61Vdao~_rGf91pcsw. Thanks!
C C Sreenidhin
@ccsreenidhin

Hi everyone,
I am working on creating dynamic models and repositories in lb4. I came across this issue:

'BookModel' refers to a value, but is being used as a type here. Did you mean 'typeof BookModel'. in
'''
const DynamicRepositoryClass = defineCrudRepositoryClass<
BookModel, // issue is here
typeof BookModel.prototype.id,
{}

>(BookModel);

'''
But if typeof is used I get an error as follows:

Type 'DynamicModelCtor<typeof Entity, { id: number; title?: string | undefined; }>' does not satisfy the constraint 'Entity'.

I used the Model definitions as given in the documentation https://loopback.io/doc/en/lb4/Dynamic-models-repositories-controllers.html#defining-a-datasource
'''
const bookDef = new ModelDefinition({
name: 'book',
properties: {
....
},
},
title: {
},
settings: {
idInjection: false,
mysql: {schema: 'test', table: 'BookStore'},
},
});

const BookModel = defineModelClass<typeof Entity, {id: number; title?: string}>(
  Entity,
  bookDef,
);

'''

Please help.

Eduardo Mazzucchelli
@emazzu
image.png
hi people,
can do this ??? and send email to one or two conector ??
Amin Azimi
@aminazimi_gitlab
hi , Can you help me , when i wanna to use lb4 discover it doesnt show any connetor?
Amin Azimi
@aminazimi_gitlab
nothing for lb4 discover?
Henrik Holst
@hholst80
How can I use json5 for the endpoints in LB?
Can I switch out the default JSON parser for JSON5 API somehow?
I could only find one single reference to JSON5.. by myself on a closed issue ;-) strongloop/loopback#4247
arun.jayapal
@deostroll
Hello world. In lb3 can we trap errors in a remote call in some middleware?
For e.g. consider there is a model. and we try to create a record via the http api POST /api/Customers with some irrelevant json data...
There would be some output on the console to this reflect this...
what middleware is responsible for that...? And how do I put my middleware before it?
arun.jayapal
@deostroll
Okay. never mind. I found the answer.
Mohammad Quadri
@quadrixm
Is there any example for using Email Datasource for sending email in lb4
sumit shivaji sale
@sumitsale
has any one implement mongodb audit log in lp4?
any one backing memory leak with lb4 update?
WShyamKatti
@WShyamKatti
Hello Community
I posted a question related to an issue I am facing with postgres connector here: https://groups.google.com/g/loopbackjs/c/vY3ykgBgH3Q/m/MIb3Gqq3AAAJ. Can I assume the community is fairly active to get a response ? Just trying to figure this thing out asap.
Chinh Le
@dangchinh2501_gitlab
can anyone using loopback 3 can help me? I use the cli command "lb model" to create a new model for my app, after that, it affects significantly other file and some of the remote method of other models disappear
srinath talari
@srinathtr_twitter
Hello Community,
Can we change the title of loopback/rest-explorer template index.html.ejs page ( currently it is LoopBack API Explorer)
please advice. Thanks in advance
Yongcheol Choi
@cycorld
Hello,
Can I use template engine (like jade, pug, haml) for loopback 4?
https://loopback.io/pages/en/lb4/readmes/loopback-example-relations.html#configure-server-side-views
Mohammad Quadri
@quadrixm
Hi,
What would be the best way to implement rabbit mq in loopback 4 or bull js
Chiranjeev Sharma
@c45_gitlab
Is it possible to provide md5-sess encryption for creating Authorization digest header while processing a WSDL API method using strong-soap library ?
Library Ref: https://github.com/strongloop/strong-soap
Pawan Tejwani
@thedeterminedsoul
Hi All
Can anyone please point me to working example of loopback 4 websockets with redis or any other cache ?
Thank you :)
alaa almasri
@alaaalmasri12
hello guys im new to loopback if some can help me find resources to learn
give me some tips i worked with express
sumitkhuranaMTX
@sumitkhuranaMTX
Hi All
Do we have any way to filter on the child relation and get all the records for that criteria in Loopback 4
We need to find the listing and pagination on it, its very urgent and we are struck and not sure how loopback 4 supports it
Eduardo Mazzucchelli
@emazzu
Yanni Zhang
@yannizhang2019
Hi, All, how do I report a potential security issue on LoopBack? I tried sending email to reachsl@us.ibm.com according to https://loopback.io/doc/en/contrib/Reporting-issues.html#security-issues, but the email account seems not working as I got a bounce back.
Ayman Ali
@aymanaus
My loopback3 project crashes when it can not connect to postgress. How can I handle errors globally and write the message to datadog without crashing
Rifa Achrinza
@achrinza
Hi everyone, gentle reminder that Slack is the recommended platform for the community and Gitter is not actively checked by the maintainers. A link can be found on https://loopback.io navbar. strongloop/loopback-next#5048 also documents this shift to Slack.
alaa almasri
@alaaalmasri12
any help???