Skip to content
This repository was archived by the owner on May 27, 2021. It is now read-only.

Commit ef9206c

Browse files
committed
Allow get & select on geo models again
1 parent 225b2fe commit ef9206c

File tree

1 file changed

+0
-18
lines changed

1 file changed

+0
-18
lines changed

src/proxy/GeoResourceProxy.js

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -127,22 +127,4 @@ export default class GeoResourceProxy extends ResourceProxy {
127127

128128
return result.map(r => this.new(r));
129129
}
130-
131-
/**
132-
* Stub implementation of the get method
133-
* Geographic resources don't have stable IDs so we can not reference them by ID
134-
* @throws TypeError
135-
*/
136-
get () {
137-
throw new TypeError('Geographic resources do not support IDs');
138-
}
139-
140-
/**
141-
* Stub implementation of the select method
142-
* Geographic resources don't have stable IDs so we can not reference them by ID
143-
* @throws TypeError
144-
*/
145-
select () {
146-
throw new TypeError('Geographic resources do not support IDs');
147-
}
148130
}

0 commit comments

Comments
 (0)