Im having a problem displaying a query.
i tried it both on a graphic layer and a feature layer
the code is the same for both except the layer is different type and the apply is accordingly different
feature layer code:
https://codepen.io/segev-salman/pen/MdrBGq?editors=1000
graphic layer code:
https://codepen.io/segev-salman/pen/xNpzKr
on change a query happens and displayed with a different renderer.