Skip to content
#

prisma

Here are 943 public repositories matching this topic...

blitz
remjx
remjx commented Jul 7, 2021

What is the problem?

When two pages exist that export BlitzPages with the same name, e.g. Page in this example:

// app/pages/page1.tsx and app/pages/page2.tsx
const Page: BlitzPage = () => <Component />
export default Page

the route manifest only generates one entry because there is a naming conflict, causing one of the routes to be missing/overwritten in the manifest:

peterp
peterp commented May 12, 2021

https://github.com/redwoodjs/redwood/blob/3557f707889998ccdc1c3542048618b2ef8ba6ac/packages/auth/src/authClients/firebase.ts#L56

You would:

  1. Have a place to store the token's payload ( with expiration time )
  2. Compare the current time against the expiration time whenever getToken is called
  3. If it has not expired, return the old token, if it has expired, call the part the retrieves the t

Improve this page

Add a description, image, and links to the prisma 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 prisma topic, visit your repo's landing page and select "manage topics."

Learn more