AvitalTamir / cyphernetes

A Kubernetes Query Language
https://cyphernet.es
Apache License 2.0
527 stars 11 forks source link

Allow SET on nested field where parent is nil #103

Closed AvitalTamir closed 1 month ago

AvitalTamir commented 1 month ago

Currently, SET can only edit a field if it's parent already exists - a common use case is creating a label on a resource that still has no labels.

Currently, the resource must have at least one label for MATCH (x:resource) SET x.metadata.labels.foo="bar" to work.