Jens Bodal

Results 46 comments of Jens Bodal

`APP_INITIALIZER` did not work for me because I needed the service to be available while calling the `forRoot` method of another imported module. The module imports resolve before the providers...

I see this discussion is still going, is there a reason the best option is not to simply fetch the config prior to bootstrapping? For AoT builds to have a...

The `main.ts` file is typically the initial entry point to an angular application. If load times are a concern you’re already lazily loading modules so the bare minimum is fetched...

Hey FYI I was able to just use the `webpack` plugin instead of the `jest` one in my jest.config file and seems to work fine that way.

If you want to still have CSP headers but limit it somewhat (instead of disabling entirely) ``` const devContentSecurityPolicy = { directives: { scriptSrc: ["'self'", "'unsafe-inline'", 'https://cdn.jsdelivr.net'], imgSrc: ["'self'", 'data:',...

I've tried using `html-webpack-deploy-plugin` but I can't seem to figure out how to copy over the hashed file and inject that name into the index.html. The solution from @joyfulelement seems...

Here's what I ended up doing. I have a feeling there is some more native way to accomplish this since it was pretty easy to do back in the day...

Well here’s a hacky workaround ``` import { AttributeValue, DynamoDBClient, QueryInput, QueryOutput } from '@aws-sdk/client-dynamodb'; import { DynamoDBDocumentClient } from '@aws-sdk/lib-dynamodb'; import { DocumentClientV3 } from '@typedorm/document-client'; class DocumentClient extends...

Oh this is actually easily fixable, the imports [here](https://github.com/typedorm/typedorm/blob/beta/packages/document-client/src/classes/document-client-v3.ts#L13,L16) need to come from `'@aws-sdk/lib-dynamodb'` (related issue: https://github.com/aws/aws-sdk-js-v3/issues/2403#issuecomment-844268444) So workaround is to just use that ``` import { DynamoDBClient, QueryInput, QueryOutput...

So I assume this is related to my issue with not being able to set the case of the plural form? E.g. `pluralize.plural('ABC')` becomes `ABCS`. I tried adding a rule...