Skip to content

deck gateway validate returns no error with missing namespace #1858

Description

@mheap

Confusing for customers whom see their files pass validation, but then cannot be synced due to the errors thrown at this point. The documentation is clear that config.namespace is a required field, but this should likewise be reflected when running the validate command.

Activity

  1. self-assigned this
    on Feb 3, 2026
  2. mheap commented on Feb 9, 2026

    @mheap
    MemberAuthor

    I did some investigation here. The issue is that when calling validate, we only send the values that are present in the configuration file:

    v.validateEntity(entityType, entities.Index(i).Interface())

    Then when we sync, we fetch defaults and send them too.

    We could fetch defaults for each entity but that will make the validate step significantly slower, and require a lot of work in deck itself.

    @Prashansa-K the work you're doing to look at sending values without defaults would resolve this issue too as namespace would not be sent as an empty string.

  3. assigned and unassigned on Mar 1, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions