Kamil Głód
Kamil Głód
@iqnaul it's because `_defaultFilterData ` method removes duplicated records. You can override that method by passing `filterData: (text, records) => records` to the config.
@iqnaul just put it into the configuration object during initialization: ``` map.addControl( new L.Control.Search({ position: 'topright', minLength: 3, ... filterData: (text, records) => records, }) ); ``` by default this...
@Ju-ens sorry, I made a mistake: I mixed `filterData` with `formatData`. I'll provide an example how to override those methods to render multiple records (if it's possible) today evening. I...
@Ju-ens Ok, I worked it out, however it wasn't easy :) the main problem is that we're working by default with JS object as results data instead of JS array....
@Ju-ens I'm not @iqnaul but never mind ;) your `obj` structure is probably differs from mine, add `console.log(obj)` to `_createTip` method and you'll see
@Ju-ens I created a jsfiddle example http://jsfiddle.net/Lt4y9wkv/1/ but now I see that we need to override `_getLocation` method too. End even with it, we still have a problem: we cannot...
my workaround for missing General protocol is as follow: ```python T = TypeVar("T") class BaseFactory(Generic[T], factory.Factory): @classmethod def create(cls, **kwargs) -> T: return super().create(**kwargs) class RoleFactory(BaseFactory[Role]): class Meta: model =...
@Ragura good question. All ideas that comes to my mind are equally complicated as manually typing first argument each time new method is added. It might be possible on python...
here is my basic implementation based on [OpenTracing](https://github.com/mirumee/ariadne/blob/master/ariadne/contrib/tracing/opentracing.py): ```python from copy import deepcopy from functools import partial from inspect import isawaitable from typing import Any, Callable, Dict, Optional from graphql...
So maybe support both options? I imagine that in most cases it will be only `GraphQLPlayground` options changes, so duplicating whole html template just to add single option is overkill...