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.

Is it possible to customize the id field?

See original GitHub issue

The lib is looking for field named id automaticity, my id name is different or sometimes i even don’t have one/some times its composited

Thanks!

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:12 (2 by maintainers)

github_iconTop GitHub Comments

4reactions
Bnayacommented, Mar 28, 2019

ok, this just worked for me in the entity level:

  @PrimaryColumn({
    name: "bt_brand_id",
    length: 20,
    type: "varchar",
  })
  public id!: string;

But if there’s a way on the that lib level, i think i will prefer it

3reactions
michaelyalicommented, Mar 22, 2019

Shipped with v3.0.0

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to change the field id? - Jotform
Unfortunately, it is not possible to edit the field IDs as these are system generated and is needed to stay as is in...
Read more >
Custom id field in Django model - python - Stack Overflow
I don't want to use Django's AutoField. I want it to be such that if one row is entered then this id field...
Read more >
Use custom fields as object's Id - Salesforce Developers
Is it possible to use one of my custom fields as ID? ... The External ID field allows you to store unique record...
Read more >
2 ways to create and display Unique ID fields in SharePoint
The easiest option available for you to display Unique ID fields in SharePoint is the ID field (column). It is an out of...
Read more >
Is there a way to change the id of a custom field?
Hello,. I'd like to know if there is any way to change the id of a custom field. When I query an issue...
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