Comments (3)
@rlapierre-kffein oof, I have no experience with GraphQL, and wouldn't know where to begin. I'd be more than happy to merge a PR though, if you have an idea how to fix it for your use-case...
from craft-jason.
Hi thanks for your quick reply!
Using your plugin on a GraphQL instance I'm getting this data structure. I'm looking for a way to format this JSON inside the GraphQL query. I started to make a directive for it (JsonFormatter) but it always returning an StdClass. I'm still troubleshooting.
{ "data": { "globalSets": [ { "id": "2", "title": null, "commons_i18n": "{\r\n \"section\": {\r\n \"global_experience\": {\r\n \"title\": \"Boutique experience.\\nGlobal agency resources.\",\r\n \"cta\": {\r\n \"label\": \"Contact\",\r\n \"url\": \"fr/contact\"\r\n }\r\n },\r\n \"footer\": {\r\n \"privacy_policy\": \"Politique de confidentialité\"\r\n },\r\n \"careers\": {\r\n \"form\": {\r\n \"title\": \"Envoyer nous votre CV\",\r\n \"name\": \"Votre nom\",\r\n \"email\": \"Votre courriel\",\r\n \"message\": \"Votre message\",\r\n \"resume\": \"Votre résumé\",\r\n \"file\": \"Choisir un fichier\",\r\n \"submit\": \"Soumettre\"\r\n }\r\n }\r\n }\r\n}" } ] } }
from craft-jason.
@rlapierre-kffein Did you ever tackle this? I may ask for some help with some GraphQL friends to see the route to take here
from craft-jason.
Related Issues (20)
- Field not normalized on action request HOT 12
- Graphql support HOT 3
- Usability for cases with a lot of nested data HOT 1
- Database Field Type HOT 1
- Field requires String, check for Array
- Craft 4 support HOT 7
- Can't install on latest Craft install HOT 3
- Is there a reason why php8.1 is required ? HOT 1
- Thank you
- Unable to edit field HOT 1
- Add a getStaticHtml() function to fields/JasonField.php HOT 2
- Invalid Configuration?
- Problem with the field size limit
- Error with setFieldValue when Trying to Save Element
- Craft 5x Support
- Error setting field value from another plugin HOT 3
- Issues with multiple Jason fields on a single edit screen HOT 2
- Unable to create field in 3.5 beta HOT 5
- Edit fields not showing in Matrix field HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from craft-jason.