Skip to content
#

apollo

Here are 3,087 public repositories matching this topic...

cannikin
cannikin commented Feb 15, 2022

Related: redwoodjs/redwood#4489

When calling requireAuth() on the api side, you can pass in an optional list of roles that the user must have in addition to being logged in:

requireAuth({ roles: "admin" })
requireAuth({ roles: ["admin", "moderator"] })

Note that it allows both a string and an array of strings as valid values on the roles

Surging is a micro-service engine that provides a lightweight, high-performance, modular RPC request pipeline. support Event-based Asynchronous Pattern and reactive programming ,The service engine supports http, TCP, WS,Grpc, Thrift,Mqtt, UDP, and DNS protocols. It uses ZooKeeper and Consul as a registry, and integrates it. Hash, random, polling, Fair Polling as a load balancing algorithm, built-in service governance to ensure reliable RPC communication, the engine contains Diagnostic, link tracking for protocol and middleware calls, and integration SkyWalking Distributed APM

  • Updated Mar 5, 2022
  • C#
frederikhors
frederikhors commented May 23, 2019

Using Rollup for bundling I'm getting this error:

src/main.js → public/bundle.js...

[!] Error: 'persistCache' is not exported by node_modules\apollo-cache-persist\bundle.umd.js

https://rollupjs.org/guide/en#error-name-is-not-exported-by-module-
src\apollo.js (6:9)

6: import { persistCache } from 'apollo-cache-persist'

I can fix it using:

commonjs({
  namedEx

Improve this page

Add a description, image, and links to the apollo topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the apollo topic, visit your repo's landing page and select "manage topics."

Learn more