David Nagy

Results 6 issues of David Nagy

In this PR I have fixed an error that happens when trying to camel case a map which contains an empty string for key. ![Screenshot_20220216_194015](https://user-images.githubusercontent.com/10255970/154333654-5111b75d-1d50-4da2-8648-4f8e9a03a4dd.png)

#### Environment details - OS: N/A - Node.js version: N/A - npm version: N/A - `@google-cloud/datastore` version: v9.1.0, but in earlier versions too #### Problem statement ```js save({ excludeFromIndexes: ['foo.bar'],...

priority: p2
type: bug
api: datastore

This PR fixes issue #1327 🦕 ### Summary Considering the following 4 types of index exclusions: 1. `excludeFromindexes: ['foo.*']` 1. `excludeFromindexes: ['foo.bar']` 1. `excludeFromindexes: ['foo[].*']` 1. `excludeFromindexes: ['foo[].bar']` Supplying `{...

api: datastore
size: s

In this PR, I showcase one pattern to make `j` immutable: with decorators on every class. Why immutability? To avoid such issues: ```ts export const mySchema = j.object({ ... })...

In this PR, I showcase one pattern to make `j` immutable: with decorators on every method that mutates `this.schema`. Why immutability? To avoid such issues: ```ts export const mySchema =...

Before anything: Ajv is one of the most badly documented tool relative to how much documentation is actually produced. It is badly worded, confusing. In this PR, ChatGPT and I...