-
Notifications
You must be signed in to change notification settings - Fork 38
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Accept variable as decorator's input #1319
Comments
Hi @janainascal, can you provide a bit more context on with regard to "import API Configuration directly API package". Do you have a more complete example that might help me understand? |
Hi @lfportal , I change SPOT's initial
My wish is to generate a object |
For now, I'm duplicating it:
But, I realy like the idea of Single Point Of Truth ... Anyway, this is a wish, and I understand if that would make SPOT development too complicated. |
Problem
I can't use a variable in decorators
I'm developing in typescript on my front (AngularJS) and my back (Adonis v5), and I would like to import API Configuration directly API package. Although I could set this twice (inside decorators and in a const), I like the Spot main idea: Single Point Of Truth.
My code is organize in 3 folders:
frontend:
| Angular project
api
| Spot project
__ backend
|__ Adonis V5 project
Solution I'd like
Describe the solution you'd like
A clear and concise description of what you want to happen.
Alternatives
The text was updated successfully, but these errors were encountered: