Generated string for keyToLegacyUrlSafe using namespace undefined vs empty string #1260
Labels
api: datastore
Issues related to the googleapis/nodejs-datastore API.
priority: p2
Moderately-important priority. Fix may not be included in next release.
type: bug
Error or flaw in code with unintended results or allowing sub-optimal usage patterns.
Thanks for stopping by to let us know something could be better!
PLEASE READ: If you have a support contract with Google, please create an issue in the support console instead of filing on GitHub. This will ensure a timely response.
Is this a client library issue or a product issue?
Yes, i believe its a client library issue (@google-cloud/datastore)
Did someone already solve this?
no other issues found/resolved
Do you have a support contract?
no
If the support paths suggested above still do not result in a resolution, please provide the following details.
Environment details
@google-cloud/datastore
version: 8.7.0Steps to reproduce
There is a difference between urlSafe keys generated using the empty string as a namespace and undefined as a namespace.
The empty string one has a few letters extra at the end of the string.
Making sure to follow these steps will guarantee the quickest resolution possible.
Thanks!
The text was updated successfully, but these errors were encountered: