You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
While reviewing the documentation for creating custom Fields, I didn't see any mention of how to go about changing the underlying database type.
I have a Postgres database with some unusual column types, such as name (see table 8.5) that I'm trying to make a Payload schema for. I also am interested in Point support for Postgres. Solving either of these problems, as far as I can tell, will require modifications to the interpretation of the 'type' field. Aka:
{
name: 'issuerName',
type: 'text', // <- this field
label: 'Issuer Name',
}
Is there any documentation on custom Field type options? What would you say the level of effort would be for adding a custom Field type option?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
While reviewing the documentation for creating custom Fields, I didn't see any mention of how to go about changing the underlying database type.
I have a Postgres database with some unusual column types, such as name (see table 8.5) that I'm trying to make a Payload schema for. I also am interested in Point support for Postgres. Solving either of these problems, as far as I can tell, will require modifications to the interpretation of the 'type' field. Aka:
Is there any documentation on custom Field type options? What would you say the level of effort would be for adding a custom Field type option?
Beta Was this translation helpful? Give feedback.
All reactions