Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Обработка None-значений с учётом undefinedValue #139

Open
Assargadon opened this issue Aug 14, 2024 · 0 comments
Open

Comments

@Assargadon
Copy link
Owner

Считается, что в Magritte значение должно рассматриваться как неопределённое, если оно равно undefinedValue, а не None (хотя undefinedValue is None по умолчанию). Это нужно на случай, когда None является валидным, а не неопределенным значением. Например, у объекта "автомобиль" поле "полис КАСКО" может быть равно None и это значит, что полиса нет, а НЕ то, что мы не знаем, есть ли полис или нет.

(пример, спровоцировавший этот тикет: #138)

Assargadon added a commit that referenced this issue Aug 14, 2024
…x_nullable_reference

Сериализатор/десериализатор - обработка null полей

Принято с учётом #139
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant