Skip to content

Commit

Permalink
fix(rest/server): removes unimplemented declaration option
Browse files Browse the repository at this point in the history
  • Loading branch information
rafamel committed Oct 31, 2019
1 parent 8c0d1a3 commit a4080b3
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 6 deletions.
1 change: 0 additions & 1 deletion packages/rest/src/server/defaults.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ export function createDefaults(): Required<
crud: true,
children: true,
subscriptions: true,
declaration: true,
envelope(error, data) {
return error
? {
Expand Down
5 changes: 0 additions & 5 deletions packages/rest/src/server/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,6 @@ export interface RESTServerOptions {
* Whether to create routes for subscription services, serving their first result. Default: `true`.
*/
subscriptions?: boolean;
// TODO: remove (unimplemented)
/**
* Whether to serve the collection declaration JSON at `/:declaration`. Default: `true`.
*/
declaration?: boolean;
// TODO: we need to know how the types are modified by the envelope
/**
* A function returning the final data to serve.
Expand Down

0 comments on commit a4080b3

Please sign in to comment.