Skip to content

Commit

Permalink
Merge pull request #1924 from PawelSuwinski/fix-displaying-related-re…
Browse files Browse the repository at this point in the history
…source

admin resolves schema.org semantics by iris not by types
  • Loading branch information
PawelSuwinski committed Mar 19, 2024
2 parents 2b0a32c + ac4a864 commit 9ea33cb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion admin/schema.org.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ To configure which property should be shown to represent your entity, map the pr
// api/src/Entity/Person.php
...

#[ApiProperty(types: ["https://schema.org/name"])]
#[ApiProperty(iris: ["https://schema.org/name"])]
private $name;

...
Expand Down

0 comments on commit 9ea33cb

Please sign in to comment.