We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 556498f commit 0e09c33Copy full SHA for 0e09c33
generators/go-v2/sdk/src/reference/EndpointSnippetsGenerator.ts
@@ -29,10 +29,6 @@ export class EndpointSnippetsGenerator {
29
}
30
31
public async populateSnippetsCache(): Promise<void> {
32
- if (this.snippetsCacheInitialized) {
33
- return;
34
- }
35
-
36
const endpointSnippetsById = new Map<string, EndpointSnippets>();
37
const dynamicIr = this.context.ir.dynamic;
38
@@ -102,8 +98,6 @@ export class EndpointSnippetsGenerator {
102
98
endpointSnippetsById.forEach((value, key) => {
103
99
this.snippetsCache.set(key, value);
104
100
});
105
106
- this.snippetsCacheInitialized = true;
107
101
108
109
public getSnippetsForEndpoint(endpointId: string): EndpointSnippets | undefined {
0 commit comments