Closes #19377: Introduce config context profiles #1487

Closed
opened 2026-04-06 02:20:15 +02:00 by MrUnknownDE · 0 comments
Owner

Originally created by @jeremystretch on 8/8/2025

Closes: #19377

  • Introduce the ConfigContextProfile model to hold JSON schema definitions for config contexts
  • Add a profile ForeignKey on ConfigContext
  • Tweak validate_schema() to not raise an error on empty values
  • Tweak ModuleTypeProfile to use validate_schema() as a validator on its schema field
  • Introduce SyncedDataMixin for GraphQL types for models which support data syncing
*Originally created by @jeremystretch on 8/8/2025* ### Closes: #19377 - Introduce the ConfigContextProfile model to hold JSON schema definitions for config contexts - Add a `profile` ForeignKey on ConfigContext - Tweak `validate_schema()` to not raise an error on empty values - Tweak ModuleTypeProfile to use `validate_schema()` as a validator on its `schema` field - Introduce SyncedDataMixin for GraphQL types for models which support data syncing
Sign in to join this conversation.
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github/netbox#1487