Skip to content
This repository has been archived by the owner on Dec 13, 2023. It is now read-only.

Require slug in Partial<Block> type #34

Closed
jacobsfletch opened this issue Apr 11, 2023 · 1 comment
Closed

Require slug in Partial<Block> type #34

jacobsfletch opened this issue Apr 11, 2023 · 1 comment
Assignees
Labels
bug You're fired

Comments

@jacobsfletch
Copy link
Member

By using a Partial type for field blocks, all properties become optional including those which are truly required for Payload to operate, namely slug. We need to explicitly require this field and any others that might be necessary.

From this Discord thread: https://discord.com/channels/967097582721572934/1088878072180244510

@jacobsfletch jacobsfletch added the bug You're fired label Apr 11, 2023
@jacobsfletch jacobsfletch self-assigned this Apr 11, 2023
@jacobsfletch
Copy link
Member Author

This plugin is now being maintained in the Packages Directory of the Payload Monorepo. This repo will soon be archived and all open issues including this one will be closed. This issue has already been added to this open discussion, though, so that it will not get lost. Please refer to that discussion for more details and to continue the conversation.

@jacobsfletch jacobsfletch closed this as not planned Won't fix, can't repro, duplicate, stale Dec 12, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug You're fired
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant