question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Question: Access to immutable database-path

See original GitHub issue

Hi Simon

Is there anywhere in the app-context where one can access the hashed urlpath of the database? Currently it’s included in the template-context (databases[0]["path") when rendering urls of the database (eg. /db-44b06v9/cases…), but where can I find the hashed url when rendering the index-page? I’m trying to avoid redirects. Thanks!

Issue Analytics

  • State:open
  • Created 3 years ago
  • Comments:6 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
simonwcommented, May 6, 2020

It’s interesting to hear from someone who’s using this feature - I’m considering moving it out into a plugin #647.

0reactions
clausjuhlcommented, May 28, 2020

@simonw I would prefer just the 7 character hash. No need to make the urls any longer than they need to be 😃

Read more comments on GitHub >

github_iconTop Results From Across the Web

Inexplicable EXC_BAD_ACCESS in the iPhone simulator
I'm trying to build a class for handling all sqlite3 work and I've encountered an EXC_BAD_ACCESS which I just can't explain. I am...
Read more >
PostgreSQL: how can queries possibly be "immutable ...
This is where immutability comes in. A function is immutable if and only if the same input will always give the same output....
Read more >
Code Smells: Mutation | The IntelliJ IDEA Blog
This is part of a series investigating code that looks suspicious (“code smells”), and exploring possible alternatives.
Read more >
AWS::IAM::ManagedPolicy - AWS CloudFormation
For example, "Grants access to production DynamoDB tables." The policy description is immutable. After a value is assigned, it cannot be changed.
Read more >
Python Constants: Improve Your Code's Maintainability
The question is: what are variables and constants in practice? ... You can only access the constant's value but not change it over...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found