question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Support: Relations

See original GitHub issue

Hi devs,

Could anyone tell how I use relations with CRUD correctly?

Expected behavior

{
  "id": "x",
  "name": "x",
  "document": "x",
  "addressId": "x"
}

Current http response

addressId field is missing

Captura de tela de 2019-09-18 12-30-46

My Classes

People - Entity Captura de tela de 2019-09-18 12-28-33

Address - Entity Captura de tela de 2019-09-18 12-28-48

Customer - Controller

PS: Customer inherits from People

  1. Code like in Nest Documentation Captura de tela de 2019-09-18 12-24-20 IDE reports an error

  2. Code like in Nestjsx Crud Documentation Captura de tela de 2019-09-18 12-25-52

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:7 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
Ttoucommented, Sep 19, 2019

same problem

0reactions
Darkeincommented, Oct 3, 2019

And it’s cleaner than getting a property not written in your model

Read more comments on GitHub >

github_iconTop Results From Across the Web

The challenging world of command and support relationships
The four Army support relationships are direct support, general support, reinforcing, and general support-reinforcing (GSR). (See figure 2.) ...
Read more >
Guide to Customer Relations: Definition, Benefits, and Tips
Support professionals manage the highest number of personal interactions with customers. They're in an unparalleled position to transform the ...
Read more >
Allies, Partners and Proxies: Managing Support Relationships ...
The ICRC defines a support relationship in armed conflict as one in which an actor provides support to a party to armed conflict...
Read more >
Social relations: network, support and relational strain - PubMed
The function of social relations covers social support, social anchorage and relational strain. We use this conceptual framework to describe social relations in ......
Read more >
Pennsylvania Child Support Program
Self-Service. Make payments, estimate support, find contact information, and request forms. Domestic Relations Section. Locate ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found