Closed Dj-Viking closed 3 years ago
no need, it was a problem with the utf8.encode() function not being used with node fetch. for some reason node fetch on the server does not encode the url before being sent to an api so the node-fetch fails if there are unescaped characters in the url as a result of not being utf8 encoded.
currently bugged when entering escaped characters or letters from another language
use regex that matches against characters of any language using the
u
flag for the mongoose schemaalso have to make graphql understand a regex pattern to match against and accept the input arguments that contain characters that can be matched by the regex