using OptionsResolver for using query params as fetch options