Skip to content

Conversation

@ryanmitchell
Copy link
Contributor

@ryanmitchell ryanmitchell commented Jun 12, 2024

This PR adds a config to choose which blueprint namespaces are eloquent driven and which are not. For example, you may want form blueprints in the database but others to be file based.

To use it, specify what namespaces you want to be eloquent driven in the config statamic.eloquent-driver.blueprints.namespaces... it defaults to all, but you can put an array of what you want, eg ['forms','collections'] etc. The namespaces are the folder names you would see inside the blueprints folder when using the stache driver.

Closes #204

@ryanmitchell ryanmitchell requested a review from jasonvarga June 12, 2024 09:52
@jasonvarga jasonvarga closed this Jun 12, 2024
@jasonvarga
Copy link
Member

Nah

@jasonvarga jasonvarga reopened this Jun 12, 2024
@ryanmitchell ryanmitchell marked this pull request as ready for review June 14, 2024 22:02
@ryanmitchell ryanmitchell merged commit 1964f17 into statamic:master Jun 14, 2024
@ryanmitchell ryanmitchell deleted the feature/split-form-blueprint-repository branch June 14, 2024 22:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Split blueprints for forms

2 participants