TMTron

Results 42 comments of TMTron

what you describe sounds much like grid-type: "fit to screen". what's the difference?

The [docs](https://docs.timescale.com/v1.1/using-timescaledb/reading-data#time-bucket) should really mention that it works only up to days. When the docs say "more powerful version", we expect this command to do everything `date_trunc` can do plus...

@cryptoflipper Does this give different results, than the postgres [trunc](https://www.postgresql.org/docs/11/functions-datetime.html#FUNCTIONS-DATETIME-TRUNC) function? Also I wonder, if the [time_bucket](https://docs.timescale.com/v1.1/using-timescaledb/reading-data#time-bucket) function could just delegate to `trunc` when month, etc are specified (and maybe...

We'd also like to override `example`/`examples`. We often have endpoints that return the same object, but the examples should be different see also: https://github.com/nestjs/swagger/issues/1723

**NOTE**: this only works in **versions < 0.12!** As a workaround, we monkey patch `ValidationTypes.getMessage()`: ```typescript export function patchClassValidatorI18n() { const orig = ValidationTypes.getMessage.bind(ValidationTypes); ValidationTypes.getMessage = (type: string, isEach: boolean):...

@ChrisKatsaras since we use typescript, such a change will cause a compilation error. In addition to that we have unit tests for each message. which would fail (in the unlikely...

I think for translations on the backend (node.js) we need to pass some context (e.g. language/locale of the current user) to the message function. e.g. `ValidatorOptions` should get an `invocationContext`...

> Nestjs :) > > In fact, nobody needs to access your internal interface. The only thing we want is the ability to add dynamic Transformer. That is misleading. I'd...

I had the same issue. I guess this tool does not work (or is not even required) when you use [NVM](https://github.com/nvm-sh/nvm) See the npm remarks [here](see https://github.com/nvm-sh/nvm#migrating-global-packages-while-installing) and check the...

> or create a third library that is strictly for carrying tests, which shouldn't be necessary I agree with that: I'd also like to have the unit test in the...