opsmill / infrahub

Infrahub - A new approach to Infrastructure Management
https://opsmill.com/
GNU Affero General Public License v3.0
144 stars 7 forks source link

task: Raise or remove length limit for label in ProfileSchema #3736

Open ogenstad opened 2 days ago

ogenstad commented 2 days ago

Component

API Server / GraphQL

Task Description

Currently there's a length limit for label for all node kinds, specifically for the ProfileSchema this can be problematic:

> infrahubctl schema load models
Unable to load the schema:
  1 validation error for ProfileSchema
label
  String should have at most 32 characters
    For further information visit https://errors.pydantic.dev/2.7/v/string_too_long

We should remove the length limit for the profile schema and optionally raise it for the other schema types from the basenode schema.