Comments (3)
I see in the error message that it expects a string literal, but it would be nice if that can be passed as a variable as I like to keep constants like that defined in the same package to easily spot that eg two services have the same subscription name.
from encore.
What's the use case for having "two services have the same subscription name"? A subscription can only be tied to a single service.
from encore.
That's what I'm trying to avoid, which is why I prefer the constants route (stored in the same file) because that way, if I accidentally define a subscription twice for different services, it would be easier to spot the error.
Having said that, if Encore automatically detects duplicate subscriptions & errors out if so, then that is a viable solution as well.
from encore.
Related Issues (20)
- Javascript generated client triggers errors on User-Agent in browser HOT 2
- encore run auto-reload doesn't change the old Process ID
- "could not find package" build fail with AWS-V2 and dependents HOT 2
- Sending metrics to mimir does not seem to isolate environments HOT 1
- JS/TS generated clients always set content-type of application/json, which makes uploading multipart/form-data difficult
- Clarify Time Zone for Cron Expressions in Documentation HOT 2
- Calls not being traced if validation fails
- Generated Client `mustBeSet` check fails for `Set-Cookie`
- `Set-Cookie` can only send one `Set-Cookie` header response HOT 1
- Could `Migrations` be optional? HOT 2
- Generated client has type error when using optional `AuthParams`
- Make public API docs available to non-Member/Admin HOT 1
- The Uptime monitoring tutorial's frontend is not working HOT 1
- "Record"object not found HOT 1
- Add Typespec.io support for APIs and types HOT 1
- Raw endpoints unable to capture route params HOT 3
- Cannot delete namespace HOT 1
- `-c`/`--create` flag for `encore ns switch` fails if namespace already exists HOT 2
- Support async authDataGenerator in generated typescript client HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from encore.