aws-mobile-appsync-sdk-js icon indicating copy to clipboard operation
aws-mobile-appsync-sdk-js copied to clipboard

apollo-cache-inmemory contains a bug, requires upgrade

Open volkanunsal opened this issue 4 years ago • 1 comments

Note: If your issue/feature-request/question is regarding the AWS AppSync service, please log it in the official AWS AppSync forum

Do you want to request a feature or report a bug?

[email protected] has a bug that was discussed in this issue 2 years ago:

https://github.com/apollographql/apollo-client/issues/4071

The latest version of the package, 1.6.6, doesn't contain this bug.

What is the current behavior?

The compiled output contains a require statement that crashes local server.

var wrap$1 = require('optimism').wrap

If the current behavior is a bug, please provide the steps to reproduce and if possible a minimal demo of the problem.

You need to use Snowpack server to build a project.

What is the expected behavior?

It shouldn't contain a require.

Which versions and which environment (browser, react-native, nodejs) / OS are affected by this issue? Did this work in previous versions?

I'm using the latest version of everything.

volkanunsal avatar Feb 25 '21 14:02 volkanunsal

Hi guys, something about this question? I'm has been same problem

thadeu avatar Mar 15 '21 15:03 thadeu