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.

params can''t support rename for field

See original GitHub issue
params: {
  inquiryPatientId: { field: 'id', type: 'uuid', primary: true },
},

image

Issue Analytics

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

github_iconTop GitHub Comments

2reactions
miquelferrerllompartcommented, Oct 4, 2019

Same problem here:

@Crud({
  model: {
    type: Device,
  },
  params: {
    deviceKey: {
      field: "deviceKey",
      type: "uuid",
      primary: true,
    },
  },
})

But the swagger shows:

Screenshot 2019-10-04 at 09 09 01

Maybe some wrong configuration?

0reactions
zieglarcommented, Oct 4, 2019

@miquelferrerllompart your problem is can’t redefine primary key, my problem is can’t use new name in params define

Read more comments on GitHub >

github_iconTop Results From Across the Web

[BUG] Cannot rename extra field parameter column i...
I'm using Version: 2.110.805.0 64-bit (October 2022) from MS store; same bug applies to the October 2022 installed independently (not from ...
Read more >
AWS Glue won't rename fields: - Stack Overflow
It's odd, I saw one place saying it needs to be applied on Spark DFs, another piece of AWS documentation saying the function...
Read more >
Alter Field (Data Management)—ArcGIS Pro | Documentation
ArcGIS geoprocessing tool that renames fields and field aliases or alters field properties.
Read more >
Rename refactorings | PyCharm Documentation - JetBrains
Use the Rename refactoring to change names of symbols, files, and all the references to them throughout code. Renaming local variables or ...
Read more >
Dynamic Rename Tool - Alteryx Help
Select Dynamic /Unknown fields so columns not present at configuration are renamed at runtime. Current Field is the individual field the formula ...
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