payloadcms-vectorize@1.0.1
·
9 commits
to main
since this release
Patch Changes
-
#65
d8fea7aThanks @techiejd! - Defer adapter config validation to call-time instead of throwing at construction.The mongodb and cf adapter factories previously threw on missing config (e.g.
uri,dbName,binding) the moment they were called, which happens while the Payload config is being built. That brokepayload generate:typesandgenerate:importmapin environments without runtime variables — such as CI that buildspayload-typesto publish as a separate package. Validation now runs when an adapter method is actually invoked, so config-time codegen no longer requires runtime credentials. Valid configurations behave exactly as before.Closes #64.