Search code examples
api-platform.comdisableiri

Disable IRI api-platform


I'm trying to create a fat record in api-platform, normally, it will have to put IRI, but I don't want to (I can't.). My question, is it possible to do something like that? Instead of that: enter image description here

Do it like this:

enter image description here

Thank you in advance for your future help.Thank you in advance for your future help,


Solution

  • You can use the allow_plain_identifiers but this is highly discouraged. See this comment for the rationale: https://github.com/api-platform/core/pull/2022#issuecomment-398851861