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.

dynaconf_include definition precedence

See original GitHub issue

When using dynaconf_include inside a configuration file, the imported file seems to get precedence over the file the inclusion is done from. Is there a way to reverse this behavior?

Example:

base_config.yml:

default:
  val: 1

extension_config.yml:

default:
  dynaconf_include:
  - base_config.yml
  val: 2

If one now uses extension_config.yml, val will give 1 (the value defined in base_config.yml), while I would like it to give 2 instead (the value defined in extension_config.yml.

Issue Analytics

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

github_iconTop GitHub Comments

2reactions
aberrescommented, Jan 31, 2020

FWIW now I finally realized (as described above) that I can solve my problem by defining PRELOAD_FOR_DYNACONF instead of DYNACONF_INCLUDE. Works like a charm 🎊

0reactions
rochacbrunocommented, Sep 12, 2020

Lots of things changed on 3.0.0 and this issue is still required

Read more comments on GitHub >

github_iconTop Results From Across the Web

Precedence Definition & Meaning - Merriam-Webster
your safety takes precedence. : the right to superior honor on a ceremonial or formal occasion. : the order of ceremonial or formal...
Read more >
Precedence Definition & Meaning - Dictionary.com
the right to precede in order, rank, or importance; priority. the fact of preceding in time; antedating. the right to precede others in...
Read more >
Precedence definition and meaning | Collins English Dictionary
2. the right to precede in order, rank, or importance; priority. 3. the fact of preceding in time; antedating. 4.
Read more >
PRECEDENCE | definition in the Cambridge English Dictionary
precedence meaning: 1. the condition of being dealt with before other things or of being considered more important than…. Learn more.
Read more >
What is Precedence? - Definition from Techopedia
Precedence, in C#, is the rule that specifies the order in which certain operations need to be performed in an expression. For a...
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