Toby Dimmick
Toby Dimmick
I believe the problem is due to the way a struct with a `flatten` attribute is deserialised. The derived implementation will: - When deserialising the outer type, collect all encountered...
Previous bug: #112 This issue is also present in the quick-xml crate: [discussion](https://github.com/tafia/quick-xml/issues/226)
I think i've found a suitable workaround for this issue. I've created a `deserialize_with` function which should be applied to all primitive fields in the types being deserialized. It will...
`multi_cartesian_product` will have an order-of-magnitude worse performance than `iproduct`, so if the number of repeats is known at compile time (and small), and the code is at all performance-sensitive, `iproduct`...
> @tim-lar can you describe your project structure? This issue also affects me - maybe my info can help. My app is within a monorepo and its module structure is...
> what stops you from moving only the `sst.config.js` one level up and update the imports accordingly? This is what I've ended up doing. I actually have an `sstConfig.ts` within...
For anyone else dealing with this, an addendum to the above solution: function hot-reloading works with `sst.config.ts` in a parent directory, but for hot-redeployment to work, the file also needs...
I believe I'm running into this issue via `getStack`. I use this in unit tests to check that template output is as expected (similar to the [example in the docs](https://sst.dev/chapters/unit-tests-in-serverless.html#testing-cdk-infrastructure))....
> Are you running this against your local stage? @jayair In the test, the stage name `test-user` is used, i.e.: ```ts const name = 'app-name'; const stage = 'test-user'; await...
@jayair yes, it deploys with the correct runtime.