#106 CQuery: version without optional

باز‌کردن
2 سال پیش باز شده توسط ranides · 0 دیدگاه

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 مشارکت کننده
درحال بارگذاری...
لغو
ذخيره
هنوز محتوایی ایجاد نشده.