CARVIEW |
Select Language
HTTP/2 200
date: Sat, 19 Jul 2025 17:25:46 GMT
content-type: text/html; charset=utf-8
vary: X-PJAX, X-PJAX-Container, Turbo-Visit, Turbo-Frame, X-Requested-With,Accept-Encoding, Accept, X-Requested-With
x-repository-download: git clone https://github.com/sebelga/gstore-node.git
etag: W/"ddec1fb00e5fd0a3ae606ee4a6936850"
cache-control: max-age=0, private, must-revalidate
strict-transport-security: max-age=31536000; includeSubdomains; preload
x-frame-options: deny
x-content-type-options: nosniff
x-xss-protection: 0
referrer-policy: no-referrer-when-downgrade
content-security-policy: default-src 'none'; base-uri 'self'; child-src github.githubassets.com github.com/assets-cdn/worker/ github.com/assets/ gist.github.com/assets-cdn/worker/; connect-src 'self' uploads.github.com www.githubstatus.com collector.github.com raw.githubusercontent.com api.github.com github-cloud.s3.amazonaws.com github-production-repository-file-5c1aeb.s3.amazonaws.com github-production-upload-manifest-file-7fdce7.s3.amazonaws.com github-production-user-asset-6210df.s3.amazonaws.com *.rel.tunnels.api.visualstudio.com wss://*.rel.tunnels.api.visualstudio.com objects-origin.githubusercontent.com copilot-proxy.githubusercontent.com proxy.individual.githubcopilot.com proxy.business.githubcopilot.com proxy.enterprise.githubcopilot.com *.actions.githubusercontent.com wss://*.actions.githubusercontent.com productionresultssa0.blob.core.windows.net/ productionresultssa1.blob.core.windows.net/ productionresultssa2.blob.core.windows.net/ productionresultssa3.blob.core.windows.net/ productionresultssa4.blob.core.windows.net/ productionresultssa5.blob.core.windows.net/ productionresultssa6.blob.core.windows.net/ productionresultssa7.blob.core.windows.net/ productionresultssa8.blob.core.windows.net/ productionresultssa9.blob.core.windows.net/ productionresultssa10.blob.core.windows.net/ productionresultssa11.blob.core.windows.net/ productionresultssa12.blob.core.windows.net/ productionresultssa13.blob.core.windows.net/ productionresultssa14.blob.core.windows.net/ productionresultssa15.blob.core.windows.net/ productionresultssa16.blob.core.windows.net/ productionresultssa17.blob.core.windows.net/ productionresultssa18.blob.core.windows.net/ productionresultssa19.blob.core.windows.net/ github-production-repository-image-32fea6.s3.amazonaws.com github-production-release-asset-2e65be.s3.amazonaws.com insights.github.com wss://alive.github.com api.githubcopilot.com api.individual.githubcopilot.com api.business.githubcopilot.com api.enterprise.githubcopilot.com; font-src github.githubassets.com; form-action 'self' github.com gist.github.com copilot-workspace.githubnext.com objects-origin.githubusercontent.com; frame-ancestors 'none'; frame-src viewscreen.githubusercontent.com notebooks.githubusercontent.com; img-src 'self' data: blob: github.githubassets.com media.githubusercontent.com camo.githubusercontent.com identicons.github.com avatars.githubusercontent.com private-avatars.githubusercontent.com github-cloud.s3.amazonaws.com objects.githubusercontent.com release-assets.githubusercontent.com secured-user-images.githubusercontent.com/ user-images.githubusercontent.com/ private-user-images.githubusercontent.com opengraph.githubassets.com copilotprodattachments.blob.core.windows.net/github-production-copilot-attachments/ github-production-user-asset-6210df.s3.amazonaws.com customer-stories-feed.github.com spotlights-feed.github.com objects-origin.githubusercontent.com *.githubusercontent.com; manifest-src 'self'; media-src github.com user-images.githubusercontent.com/ secured-user-images.githubusercontent.com/ private-user-images.githubusercontent.com github-production-user-asset-6210df.s3.amazonaws.com gist.github.com; script-src github.githubassets.com; style-src 'unsafe-inline' github.githubassets.com; upgrade-insecure-requests; worker-src github.githubassets.com github.com/assets-cdn/worker/ github.com/assets/ gist.github.com/assets-cdn/worker/
server: github.com
content-encoding: gzip
accept-ranges: bytes
set-cookie: _gh_sess=WSAifvP9Sme9tDDLnuxfHd0SqMH%2BZrJ7jv7BzViSLvws93I3UJ6Is6plu7EdsMs535eFQwKca%2FuL%2BzrMXXb58QN8WkxhnT%2BTsaytaW5f1K15LZxNKLSmnxHw5kXgKkv4vezVtBzG5cTlVbmpvODOOTna6A27IZptWs013JB0cxL68s3DKRsvJ0ufCG6Mn5rc24o0JJ9lMrjDnSWUhv3F2K80uurWH6TwJwN%2BgAwsOWk3A62zBtjcv7oBAptaUQTPWkMqccKXiRzYkxVLPZaEEA%3D%3D--Ks4TwK3JBq1efZfk--y8XykV0JNstxls30d0M50g%3D%3D; Path=/; HttpOnly; Secure; SameSite=Lax
set-cookie: _octo=GH1.1.673248470.1752945945; Path=/; Domain=github.com; Expires=Sun, 19 Jul 2026 17:25:45 GMT; Secure; SameSite=Lax
set-cookie: logged_in=no; Path=/; Domain=github.com; Expires=Sun, 19 Jul 2026 17:25:45 GMT; HttpOnly; Secure; SameSite=Lax
x-github-request-id: 94B6:2AF797:19ED10:2077C5:687BD519
fix(entitykey): remove convertion of string number to integer for ent… · sebelga/gstore-node@75dc869 · GitHub
Skip to content
Navigation Menu
{{ message }}
-
Notifications
You must be signed in to change notification settings - Fork 53
Commit 75dc869
authored
fix(entitykey): remove convertion of string number to integer for entity key id (#179)
The live Datastore treats the same way User.get("123") than User.get(123). Both return the entity with the Key.id being "123". The conversion from string to an integer has been removed inside gstore and let to the consumer to implement if needed.
BREAKING CHANGE: The "keyType" Schema option has been removed as it is no longer needed. Also, as gstore does not parse the id anymore, running your project against the Datastore emulator locally might break as the emulator treats differently User.get(123) than User.get("123"). Auto-allocated ids are integers and need to be provided as integers for the Emulator.
#1681 parent 16999cb commit 75dc869Copy full SHA for 75dc869
File tree
Expand file treeCollapse file tree
7 files changed
+40
-97
lines changedFilter options
- lib
- test
- integration
Expand file treeCollapse file tree
7 files changed
+40
-97
lines changed+4-27Lines changed: 4 additions & 27 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
318 | 318 |
| |
319 | 319 |
| |
320 | 320 |
| |
| 321 | + | |
| 322 | + | |
| 323 | + | |
| 324 | + | |
321 | 325 |
| |
322 | 326 |
| |
323 | 327 |
| |
| |||
329 | 333 |
| |
330 | 334 |
| |
331 | 335 |
| |
332 |
| - | |
333 | 336 |
| |
334 | 337 |
| |
335 | 338 |
| |
| |||
344 | 347 |
| |
345 | 348 |
| |
346 | 349 |
| |
347 |
| - | |
348 |
| - | |
349 |
| - | |
350 |
| - | |
351 |
| - | |
352 |
| - | |
353 |
| - | |
354 |
| - | |
355 |
| - | |
356 |
| - | |
357 |
| - | |
358 |
| - | |
359 |
| - | |
360 |
| - | |
361 |
| - | |
362 |
| - | |
363 |
| - | |
364 |
| - | |
365 |
| - | |
366 |
| - | |
367 |
| - | |
368 |
| - | |
369 |
| - | |
370 |
| - | |
371 |
| - | |
372 |
| - | |
373 | 350 |
| |
374 | 351 |
| |
375 | 352 |
| |
|
+1-2Lines changed: 1 addition & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
187 | 187 |
| |
188 | 188 |
| |
189 | 189 |
| |
190 |
| - | |
| 190 | + | |
191 | 191 |
| |
192 | 192 |
| |
193 | 193 |
| |
| |||
755 | 755 |
| |
756 | 756 |
| |
757 | 757 |
| |
758 |
| - | |
759 | 758 |
| |
760 | 759 |
| |
761 | 760 |
| |
|
+2-16Lines changed: 2 additions & 16 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
132 | 132 |
| |
133 | 133 |
| |
134 | 134 |
| |
135 |
| - | |
| 135 | + | |
136 | 136 |
| |
137 | 137 |
| |
138 |
| - | |
139 |
| - | |
140 | 138 |
| |
141 | 139 |
| |
142 | 140 |
| |
| |||
226 | 224 |
| |
227 | 225 |
| |
228 | 226 |
| |
229 |
| - | |
230 |
| - | |
231 | 227 |
| |
232 | 228 |
| |
233 | 229 |
| |
| |||
379 | 375 |
| |
380 | 376 |
| |
381 | 377 |
| |
382 |
| - | |
383 |
| - | |
384 |
| - | |
385 |
| - | |
386 | 378 |
| |
387 | 379 |
| |
388 | 380 |
| |
| |||
587 | 579 |
| |
588 | 580 |
| |
589 | 581 |
| |
590 |
| - | |
591 | 582 |
| |
592 | 583 |
| |
593 | 584 |
| |
| |||
899 | 890 |
| |
900 | 891 |
| |
901 | 892 |
| |
902 |
| - | |
| 893 | + | |
903 | 894 |
| |
904 | 895 |
| |
905 | 896 |
| |
906 | 897 |
| |
907 | 898 |
| |
908 | 899 |
| |
909 | 900 |
| |
910 |
| - | |
911 | 901 |
| |
912 | 902 |
| |
913 | 903 |
| |
| |||
984 | 974 |
| |
985 | 975 |
| |
986 | 976 |
| |
987 |
| - | |
988 |
| - | |
989 |
| - | |
990 |
| - | |
991 | 977 |
| |
992 | 978 |
| |
993 | 979 |
| |
|
-12Lines changed: 0 additions & 12 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
231 | 231 |
| |
232 | 232 |
| |
233 | 233 |
| |
234 |
| - | |
235 |
| - | |
236 |
| - | |
237 |
| - | |
238 |
| - | |
239 |
| - | |
240 |
| - | |
241 |
| - | |
242 |
| - | |
243 |
| - | |
244 |
| - | |
245 |
| - | |
246 | 234 |
| |
247 | 235 |
| |
248 | 236 |
| |
|
+5-4Lines changed: 5 additions & 4 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
4 | 4 |
| |
5 | 5 |
| |
6 | 6 |
| |
| 7 | + | |
7 | 8 |
| |
8 | 9 |
| |
9 | 10 |
| |
10 | 11 |
| |
11 | 12 |
| |
12 | 13 |
| |
13 |
| - | |
| 14 | + | |
14 | 15 |
| |
15 | 16 |
| |
16 | 17 |
| |
| |||
74 | 75 |
| |
75 | 76 |
| |
76 | 77 |
| |
77 |
| - | |
78 |
| - | |
| 78 | + | |
| 79 | + | |
79 | 80 |
| |
80 | 81 |
| |
81 |
| - | |
| 82 | + | |
82 | 83 |
| |
83 | 84 |
| |
84 | 85 |
| |
|
+28-26Lines changed: 28 additions & 26 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
15 | 15 |
| |
16 | 16 |
| |
17 | 17 |
| |
18 |
| - | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
19 | 22 |
| |
20 | 23 |
| |
21 | 24 |
| |
| |||
40 | 43 |
| |
41 | 44 |
| |
42 | 45 |
| |
43 |
| - | |
| 46 | + | |
44 | 47 |
| |
45 | 48 |
| |
46 | 49 |
| |
| |||
92 | 95 |
| |
93 | 96 |
| |
94 | 97 |
| |
95 |
| - | |
| 98 | + | |
96 | 99 |
| |
97 | 100 |
| |
98 | 101 |
| |
| |||
102 | 105 |
| |
103 | 106 |
| |
104 | 107 |
| |
105 |
| - | |
| 108 | + | |
106 | 109 |
| |
107 | 110 |
| |
108 | 111 |
| |
| |||
125 | 128 |
| |
126 | 129 |
| |
127 | 130 |
| |
128 |
| - | |
129 |
| - | |
| 131 | + | |
| 132 | + | |
130 | 133 |
| |
131 | 134 |
| |
132 | 135 |
| |
133 | 136 |
| |
134 | 137 |
| |
135 | 138 |
| |
136 | 139 |
| |
137 |
| - | |
| 140 | + | |
138 | 141 |
| |
139 | 142 |
| |
140 | 143 |
| |
141 | 144 |
| |
142 | 145 |
| |
143 | 146 |
| |
144 | 147 |
| |
145 |
| - | |
| 148 | + | |
146 | 149 |
| |
147 | 150 |
| |
148 | 151 |
| |
| |||
153 | 156 |
| |
154 | 157 |
| |
155 | 158 |
| |
156 |
| - | |
| 159 | + | |
157 | 160 |
| |
158 | 161 |
| |
159 | 162 |
| |
| |||
163 | 166 |
| |
164 | 167 |
| |
165 | 168 |
| |
166 |
| - | |
| 169 | + | |
167 | 170 |
| |
168 | 171 |
| |
169 | 172 |
| |
| |||
174 | 177 |
| |
175 | 178 |
| |
176 | 179 |
| |
177 |
| - | |
| 180 | + | |
178 | 181 |
| |
179 | 182 |
| |
180 | 183 |
| |
| |||
185 | 188 |
| |
186 | 189 |
| |
187 | 190 |
| |
188 |
| - | |
| 191 | + | |
189 | 192 |
| |
190 | 193 |
| |
191 | 194 |
| |
| |||
198 | 201 |
| |
199 | 202 |
| |
200 | 203 |
| |
201 |
| - | |
202 |
| - | |
| 204 | + | |
| 205 | + | |
203 | 206 |
| |
204 |
| - | |
| 207 | + | |
205 | 208 |
| |
206 | 209 |
| |
207 | 210 |
| |
| |||
211 | 214 |
| |
212 | 215 |
| |
213 | 216 |
| |
214 |
| - | |
| 217 | + | |
215 | 218 |
| |
216 | 219 |
| |
217 | 220 |
| |
218 | 221 |
| |
219 | 222 |
| |
220 | 223 |
| |
221 |
| - | |
| 224 | + | |
222 | 225 |
| |
223 | 226 |
| |
224 | 227 |
| |
| |||
230 | 233 |
| |
231 | 234 |
| |
232 | 235 |
| |
233 |
| - | |
| 236 | + | |
234 | 237 |
| |
235 | 238 |
| |
236 | 239 |
| |
| |||
244 | 247 |
| |
245 | 248 |
| |
246 | 249 |
| |
247 |
| - | |
| 250 | + | |
248 | 251 |
| |
249 | 252 |
| |
250 | 253 |
| |
| |||
274 | 277 |
| |
275 | 278 |
| |
276 | 279 |
| |
277 |
| - | |
| 280 | + | |
278 | 281 |
| |
279 | 282 |
| |
280 | 283 |
| |
281 |
| - | |
| 284 | + | |
282 | 285 |
| |
283 | 286 |
| |
284 | 287 |
| |
285 | 288 |
| |
286 | 289 |
| |
287 | 290 |
| |
288 |
| - | |
289 |
| - | |
| 291 | + | |
| 292 | + | |
290 | 293 |
| |
291 | 294 |
| |
292 | 295 |
| |
| |||
303 | 306 |
| |
304 | 307 |
| |
305 | 308 |
| |
306 |
| - | |
307 |
| - | |
| 309 | + | |
| 310 | + | |
308 | 311 |
| |
309 | 312 |
| |
310 | 313 |
| |
| |||
319 | 322 |
| |
320 | 323 |
| |
321 | 324 |
| |
322 |
| - | |
323 | 325 |
| |
324 | 326 |
| |
325 | 327 |
| |
|
You can’t perform that action at this time.
0 commit comments