mirror of
https://github.com/appwrite/appwrite
synced 2026-05-24 01:18:37 +00:00
chore: Commenting unused code
This commit is contained in:
parent
aa4bc1c776
commit
3ecd8ce189
1 changed files with 10 additions and 10 deletions
|
|
@ -205,36 +205,36 @@ class Schema
|
||||||
$queryFields[$collectionId . 'Get'] = [
|
$queryFields[$collectionId . 'Get'] = [
|
||||||
'type' => $objectType,
|
'type' => $objectType,
|
||||||
'args' => Mapper::args('id'),
|
'args' => Mapper::args('id'),
|
||||||
'resolve' => Resolvers::documentGet(
|
/*'resolve' => Resolvers::documentGet(
|
||||||
$http,
|
$http,
|
||||||
$databaseId,
|
$databaseId,
|
||||||
$collectionId,
|
$collectionId,
|
||||||
$urls['get'],
|
$urls['get'],
|
||||||
)
|
)*/
|
||||||
];
|
];
|
||||||
$queryFields[$collectionId . 'List'] = [
|
$queryFields[$collectionId . 'List'] = [
|
||||||
'type' => Type::listOf($objectType),
|
'type' => Type::listOf($objectType),
|
||||||
'args' => Mapper::args('list'),
|
'args' => Mapper::args('list'),
|
||||||
'resolve' => Resolvers::documentList(
|
/*'resolve' => Resolvers::documentList(
|
||||||
$http,
|
$http,
|
||||||
$databaseId,
|
$databaseId,
|
||||||
$collectionId,
|
$collectionId,
|
||||||
$urls['list'],
|
$urls['list'],
|
||||||
$params['list'],
|
$params['list'],
|
||||||
),
|
),*/
|
||||||
'complexity' => $complexity,
|
'complexity' => $complexity,
|
||||||
];
|
];
|
||||||
|
|
||||||
$mutationFields[$collectionId . 'Create'] = [
|
$mutationFields[$collectionId . 'Create'] = [
|
||||||
'type' => $objectType,
|
'type' => $objectType,
|
||||||
'args' => $attributes,
|
'args' => $attributes,
|
||||||
'resolve' => Resolvers::documentCreate(
|
/*'resolve' => Resolvers::documentCreate(
|
||||||
$http,
|
$http,
|
||||||
$databaseId,
|
$databaseId,
|
||||||
$collectionId,
|
$collectionId,
|
||||||
$urls['create'],
|
$urls['create'],
|
||||||
$params['create'],
|
$params['create'],
|
||||||
)
|
)*/
|
||||||
];
|
];
|
||||||
$mutationFields[$collectionId . 'Update'] = [
|
$mutationFields[$collectionId . 'Update'] = [
|
||||||
'type' => $objectType,
|
'type' => $objectType,
|
||||||
|
|
@ -245,23 +245,23 @@ class Schema
|
||||||
$attributes
|
$attributes
|
||||||
)
|
)
|
||||||
),
|
),
|
||||||
'resolve' => Resolvers::documentUpdate(
|
/*'resolve' => Resolvers::documentUpdate(
|
||||||
$http,
|
$http,
|
||||||
$databaseId,
|
$databaseId,
|
||||||
$collectionId,
|
$collectionId,
|
||||||
$urls['update'],
|
$urls['update'],
|
||||||
$params['update'],
|
$params['update'],
|
||||||
)
|
)*/
|
||||||
];
|
];
|
||||||
$mutationFields[$collectionId . 'Delete'] = [
|
$mutationFields[$collectionId . 'Delete'] = [
|
||||||
'type' => Mapper::model('none'),
|
'type' => Mapper::model('none'),
|
||||||
'args' => Mapper::args('id'),
|
'args' => Mapper::args('id'),
|
||||||
'resolve' => Resolvers::documentDelete(
|
/*'resolve' => Resolvers::documentDelete(
|
||||||
$http,
|
$http,
|
||||||
$databaseId,
|
$databaseId,
|
||||||
$collectionId,
|
$collectionId,
|
||||||
$urls['delete'],
|
$urls['delete'],
|
||||||
)
|
)*/
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
$offset += $limit;
|
$offset += $limit;
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue