From b2b09663633dde8efe8c7e0e1104295b07c52e6e Mon Sep 17 00:00:00 2001 From: Mathieu Santostefano Date: Wed, 30 Mar 2022 14:27:14 +0200 Subject: [PATCH] Add precision about behavior of get op. when identifier changes --- core/identifiers.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/core/identifiers.md b/core/identifiers.md index bbc7d82c156..c4042b6686f 100644 --- a/core/identifiers.md +++ b/core/identifiers.md @@ -174,6 +174,8 @@ final class Person } ``` +Changing Identifier will automatically change the behaviour of [get operation](operations), instead of the resource `id` field, the get operation will try to retrieve resource by using the `code` field. + ## Supported Identifiers API Platform supports the following identifier types: