Bringing local and remote repository in line with one another again

This commit is contained in:
Alan Bridgeman 2025-04-30 14:58:07 -05:00
parent bc581f9eac
commit 332e177f99
15 changed files with 1344 additions and 222 deletions

View file

@ -1,3 +1,5 @@
export const GET_METADATA_KEY = 'Get';
/**
* Method decorator intended to be used on methods of a class decorated with the `@Controller` decorator.
*
@ -9,6 +11,6 @@
export function GET(path: string) {
return function (target: any, propertyKey: string, descriptor: PropertyDescriptor) {
// Define a `Get` metadata key with the path as the value on the target's propertyKey
Reflect.defineMetadata('Get', path, target, propertyKey);
Reflect.defineMetadata(GET_METADATA_KEY, path, target, propertyKey);
};
}