Skip to content

Conversation

@pierrecamilleri
Copy link
Collaborator

@pierrecamilleri pierrecamilleri commented Jul 15, 2025

  • fixes #

First attempt to manage the technical debt of the Metedata class.

The aim of this PR is to properly define a descriptor class for the "Field" class, using Pydantic Models.
This descriptor should be immutable.

The first step is to introduce this descriptor for the "BooleanField".

The effort and number of changes this requires testifies of the high coupling the Metadata class has introduced over the whole codebase.

@pierrecamilleri pierrecamilleri force-pushed the refactor/field-no-metadata branch from 800f7bf to e88d66f Compare December 10, 2025 13:14
Integrated pydantic logic to IntegerField.
All tests pass (apart from 5 console ones not related to modifications)
Fixed a few issued:
- examples should enable Any type, not only strings
- descriptor was broken during the merge of two kinds
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants