#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 учасників
Завантажується...
Скасувати
Зберегти
Тут ще немає жодного вмісту.