Skip to content
This repository has been archived by the owner on Sep 28, 2022. It is now read-only.

CreateDocument does not generate an id #102

Open
Tyki opened this issue Jan 30, 2019 · 0 comments
Open

CreateDocument does not generate an id #102

Tyki opened this issue Jan 30, 2019 · 0 comments

Comments

@Tyki
Copy link
Contributor

Tyki commented Jan 30, 2019

When using createDocument method, the id is not automatically generated. Instead a string ':_id' is used as ID of document

Expected Behavior

A UUIDV4 as documentID

Current Behavior

string '_id' as documentID

Possible Solution

Steps to Reproduce

  1. Setup SDK PHP
  2. Get a collection object
  3. Try to create a document without providing the second parameter 'id'

Context (Environment)

Kuzzle 1.5
SDK PHP 3.0.4

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants