From 52c9664bc388e7782d4c71768c3ba06abf423e81 Mon Sep 17 00:00:00 2001 From: Garry Trinder Date: Thu, 13 Feb 2025 14:49:30 +0000 Subject: [PATCH] Fix GraphMockResponsePlugin config requirement. Closes #184 --- CHANGELOG.md | 4 ++++ src/constants.ts | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 72be0f1..48ed6ac 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -14,6 +14,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - Snippets: Updated schema urls to reflect the move to dotnet organisation in Github - Code action: Updated update schema code action to reflect the move to dotnet organisation in Github +### Fixed: + +- Diagnostics: Fixed GraphMockResponsePlugin does not require a config section issue + ## [0.16.0] - 2025-02-03 ### Added: diff --git a/src/constants.ts b/src/constants.ts index 227cb70..d260bca 100644 --- a/src/constants.ts +++ b/src/constants.ts @@ -86,6 +86,10 @@ export const pluginSnippets: PluginSnippets = { }, GraphMockResponsePlugin: { instance: 'devproxy-plugin-graph-mock-response', + config: { + name: 'devproxy-plugin-graph-mock-response-config', + required: true, + } }, GraphRandomErrorPlugin: { instance: 'devproxy-plugin-graph-random-error',