#106 CQuery: version without optional

Открыто
2 лет назад открыта ranides · комментариев: 0
ranides прокомментировал 2 лет назад

We need unsafe methods which doesn't return Optional but null.

Or throw exceptions.

First option is to create unsafe getters inside CQuery itselft: instead of using query.first().get() we could use query.$first()

Another option is to create new class: CNullableQuery and remove all optionals from it.

We need _unsafe_ methods which doesn't return `Optional` but null. Or throw exceptions. First option is to create unsafe getters inside CQuery itselft: instead of using `query.first().get()` we could use `query.$first()` Another option is to create new class: `CNullableQuery` and remove all optionals from it.
Войдите, чтобы присоединиться к обсуждению.
Нет этапа
Нет ответственного
1 участников
Загрузка...
Отмена
Сохранить
Пока нет содержимого.