wesnick / api-platform-workflow-extension Goto Github PK
View Code? Open in Web Editor NEWBundle to integrate API Platform with Workflow component
Bundle to integrate API Platform with Workflow component
Hey,
I'm having issues when trying to patch the entity:
once implements PotentialActionInterface
is added to the Entity a PATCH is no more possible. It fails with "hydra:description": "The content-type \"application/merge-patch+json\" is not supported. Supported MIME types are \"\".",
regardless of the content-type. If I remove the implements
it shows me the supported MIME types when it doesn't match.
Hello @wesnick
First i would like to thank you for this amazing extension :)
I have just a remark about the url in the potentialAction:
Actually we have:
"url": "/users/1?workflow=user_status&transition=ban_user"
When i run this patch action, I get a syntax error from the API, but when i send the { "transition": "ban_user" }
in the body it work... i don't know if it's an issue... or that's how it's supposed to work ?
If it's the second case, then is't possible to remove the transition part in the url ?
thanks.
Hi, I just found this awesome bundle and tried it out in a api-platform
project. At first glance it works very smoothly and does exactly what I was looking for.
In order to use this in production it would be very good to have tagged release, so we can rely on automated processes.
So my questions right now are:
Best regards
Good job! However can't give it a try, my project supports GraphQL only.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.