ra-data-prisma | Packages to connect react-admin with prisma version | Frontend Framework library
kandi X-RAY | ra-data-prisma Summary
kandi X-RAY | ra-data-prisma Summary
Packages to connect react-admin with prisma version 2
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of ra-data-prisma
ra-data-prisma Key Features
ra-data-prisma Examples and Code Snippets
Community Discussions
Trending Discussions on ra-data-prisma
QUESTION
I'm currently building a data provider for prisma based on graphcool's one, and failed at succeeding to make working.
The component successfully queries the values of the item and all the possibles values available, but it looks like it's failing when trying to match both. As a result, I get a label saying At least one of the associated references no longer appears to be available.
, with no values selected.
Here's the data returned by my data provider:
Returned by the GET_MANY
request to grab actual choices:
ANSWER
Answered 2018-Aug-24 at 09:19Got it. react-admin
expects an array of ids to match the resources. All I needed to do was to set the
source
prop to Ids
. That fixed the issue.
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install ra-data-prisma
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page