api-platform / api-platform/schema-generator

How-to define a custom property name

Open
#145 3 comments 0 reactions 0 assignees View on GitHub
Dominant language
PHP
Stars
474
Forks
107
PR merge metrics
No merged PRs in 30d

Description

Example:

```
User:
guessFrom: "Person"
properties:
email: { unique: true, nullable: false }
email2: { nullable: false, guessFrom: "email" }
```

The `guessFrom` option is not recognized for the field type.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.