appbaseio / appbaseio/reactivesearch
transformRequest doesn't work in SSR if graphQlUrl isn't defined
Abierto
bug
- Lenguaje dominante
- JavaScript
- Estrellas
- 4.9k
- Forks
- 478
- Métricas de merge de PR
- Sin PR fusionados en 30 d
Descripción
**Affected Projects**
React
**Library Version:** x.y.z
3.11.2
**Describe the bug**
`transformRequest` doesn't work in SSR if graphQlUrl isn't defined. Hence SSR gives a different set of results and client side re-rendering is performed.
**To Reproduce**
Steps to reproduce the behavior:
Simply provide a `transformRequest` function to `initReactiveSearch` but don't provide `graphQlUrl`.
**Expected behavior**
`transformRequest` should be executed on the `finalQuery` regardless of presence of `graphQlUrl`.
Guía de contribución
Evaluación
Este issue todavía no se ha evaluado.