Git Product home page Git Product logo

api-platform-workflow-extension's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

api-platform-workflow-extension's Issues

Collision with existing PATCH route

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.

Syntax error when running a patch action

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.

Tag a release | further development

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:

  • are you planning to work on this in the future?
  • Is this bundle for you feature complete or are there things you would like to add?
  • is there interest in external contribution?

Best regards

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.