From f737c390d58f3e16695f692a05113412f1eed25c Mon Sep 17 00:00:00 2001 From: Daniel Tschinder <231804+danez@users.noreply.github.com> Date: Mon, 3 Oct 2022 12:51:23 +0200 Subject: [PATCH] feat: allow edge function schema to have a display name (#4549) * feat: allow edge function schema to have a display name * chore: change displayName to name Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com> --- .../validate_manifest/validate_edge_functions_manifest.js | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/build/src/plugins_core/edge_functions/validate_manifest/validate_edge_functions_manifest.js b/packages/build/src/plugins_core/edge_functions/validate_manifest/validate_edge_functions_manifest.js index 6f3c03467c..c9cd574279 100644 --- a/packages/build/src/plugins_core/edge_functions/validate_manifest/validate_edge_functions_manifest.js +++ b/packages/build/src/plugins_core/edge_functions/validate_manifest/validate_edge_functions_manifest.js @@ -35,6 +35,7 @@ const routesSchema = { type: 'object', required: ['function', 'pattern'], properties: { + name: { type: 'string' }, function: { type: 'string' }, pattern: { type: 'string', format: 'regexPattern', errorMessage: `must match format ${normalizedPatternRegex}` }, },