Skip to content

Conversation

NatalieShaked
Copy link
Contributor

Question Answer
Bug fix
New feature
Breaking change
Deprecations
Documentation
Tests added
Chore

Related issues: MAPCO-6131
Closes: MAPCO-6131

@NatalieShaked NatalieShaked self-assigned this Aug 3, 2025
Copy link
Contributor

@NivGreenstein NivGreenstein left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Overall, Great job

package.json Outdated
"@map-colonies/js-logger": "^2.0.0",
"@map-colonies/openapi-express-viewer": "^4.0.0",
"@map-colonies/read-pkg": "^1.0.0",
"@map-colonies/schemas": "https://ghatmpstorage.blob.core.windows.net/npm-packages/schemas-5cee47beaa951abaf352f9ffd6895689521e9829.tgz",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Remember to change before merging

Copy link
Contributor

@NivGreenstein NivGreenstein left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please address the comments. If you notice a comment that is repeated or applicable in other places, apply it to those places as well, even if it hasn’t been explicitly mentioned there.

const config = container.resolve<IConfig>(SERVICES.CONFIG);
const dbConfig = config.get<RedisConfig>('db.redis');
const config = container.resolve<ConfigType>(SERVICES.CONFIG);
const dbConfig = config.get(redisConfigPath) as RedisConfig;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Remove ... as ...

@@ -35,6 +35,7 @@ export class TileManager {
let bbox: BBox = [0, 0, 0, 0];
try {
bbox = mgrs.inverse(tileQueryParams.mgrs);
// eslint-disable-next-line @typescript-eslint/no-unused-vars
} catch (error) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Remove this and add log

@@ -115,7 +121,7 @@ describe('/search/location', function () {
limit: 5,
disable_fuzziness: true,
};
const tokenTypesUrlScope = nock(config.get<IApplication>('application').services.tokenTypesUrl)
const tokenTypesUrlScope = nock((config.get('application') as IApplication).services.tokenTypesUrl)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Remove the config.get as ... SomeInterface here and all other places

Copy link
Contributor

@NivGreenstein NivGreenstein left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@syncush syncush merged commit 82ea5d7 into master Sep 1, 2025
10 checks passed
@syncush syncush deleted the refactor/update-to-boilerplate-mapco-6313 branch September 1, 2025 07:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants