Skip to content

Commit 142ce23

Browse files
authored
Merge pull request #454 from constructive-io/feat/remove-logs
Feat/remove logs
2 parents baf8d2f + 9bb1bc1 commit 142ce23

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

graphile/graphile-postgis/src/PostgisRegisterTypesPlugin.ts

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ const PostgisRegisterTypesPlugin: Plugin = (builder) => {
7777
if (!GEOMETRY_TYPE || !GEOGRAPHY_TYPE) {
7878
return input;
7979
}
80-
console.warn('PostGIS plugin enabled');
80+
// console.warn('PostGIS plugin enabled');
8181

8282
const GeoJSON = getTypeByName(inflection.builtin('GeoJSON')) as GraphQLScalarType | undefined;
8383
if (!GeoJSON) {
@@ -176,9 +176,9 @@ const PostgisRegisterTypesPlugin: Plugin = (builder) => {
176176
const typeId = type.id;
177177
const typeDetails: GisTypeDetails = getGISTypeDetails(typeModifier);
178178
const { subtype, hasZ, hasM, srid } = typeDetails;
179-
console.warn(
180-
`Getting ${type.name} type ${type.id}|${typeModifier}|${subtype}|${hasZ}|${hasM}|${srid}`
181-
);
179+
// console.warn(
180+
// `Getting ${type.name} type ${type.id}|${typeModifier}|${subtype}|${hasZ}|${hasM}|${srid}`
181+
// );
182182
if (!constructedTypes[typeId]) {
183183
constructedTypes[typeId] = {};
184184
}
@@ -277,7 +277,7 @@ const PostgisRegisterTypesPlugin: Plugin = (builder) => {
277277
return constructedTypes[typeId][gisTypeKey];
278278
};
279279

280-
console.warn(`Registering handler for ${GEOGRAPHY_TYPE.id}`);
280+
// console.warn(`Registering handler for ${GEOGRAPHY_TYPE.id}`);
281281

282282
pgRegisterGqlInputTypeByTypeId(GEOGRAPHY_TYPE.id, () => GeoJSON);
283283
pg2GqlMapper[GEOGRAPHY_TYPE.id] = {
@@ -295,7 +295,7 @@ const PostgisRegisterTypesPlugin: Plugin = (builder) => {
295295
return getGisType(GEOGRAPHY_TYPE, typeModifier);
296296
});
297297

298-
console.warn(`Registering handler for ${GEOMETRY_TYPE.id}`);
298+
// console.warn(`Registering handler for ${GEOMETRY_TYPE.id}`);
299299

300300
pgRegisterGqlInputTypeByTypeId(GEOMETRY_TYPE.id, () => GeoJSON);
301301
pg2GqlMapper[GEOMETRY_TYPE.id] = {

0 commit comments

Comments
 (0)