Can I use custom id values in Keystone 5
See original GitHub issueCan i use my own _id values while create new items?
I use ERP system with API which takes to me some documents, where id stores in UUID format, for example 4a7c55d1-d235-11e9-0a80-01800012e538
. This document has a lot of references and links between themselves. And i want download this structure for operations, BI, etc, but save references between entities. I tryed use Keystonejs 4, but it impossible to manage items _id. So, i can write exist id to another field (like outer_id
), but it brakes Relationships, and get a lot troubles with sync down.
Can i use Keystone 5 and create items with my own _id’s?
Is there solutions, which can help with one-way-sync existing database to Keystone?
Sorry for my bad English and “spasibo” =)
Issue Analytics
- State:
- Created 4 years ago
- Reactions:2
- Comments:14 (11 by maintainers)
Top Results From Across the Web
Custom Fields - Keystone 6 Documentation - KeystoneJS
Learn how to expand Keystone with your own custom fields. ... Keystone provides a collection of field types which you can use to...
Read more >Keystonejs admin ui : View field instead of id for relationships
Keystone only shows the name field as a document header or relationship summary. But there is a simple solution to use a custom...
Read more >Keystone Configuration Options
You do not need to set this value unless you want keystone to use an # existing role with a different ID, other...
Read more >Chapter 2. Identity Management Integration
This chapter describes how to integrate Identity Service (keystone) with Red Hat Identity Management. In this use case, Identity Service authenticates ...
Read more >Building an e-commerce app with Keystone - OpenReplay Blog
This tutorial will show how to set up and build a simple e-commerce application using a headless CMS— Keystone JS, an open-source API-driven ......
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
it is very hard to get this built in to Keystone, check with @timleslie or others if this is in their roadmap.
Also current version of KeystoneJs is going maintenance mode soon https://next.keystonejs.com/roadmap#project-status
I have created a PR that implement this feature for keystone-5 and keystone-next too, it is here: https://github.com/keystonejs/keystone/pull/4826 and it works well on my two projects.