Skip to content

Track config files#385

Merged
GuillaumeGomez merged 3 commits intoaskama-rs:masterfrom
GuillaumeGomez:track-config-files
Apr 1, 2025
Merged

Track config files#385
GuillaumeGomez merged 3 commits intoaskama-rs:masterfrom
GuillaumeGomez:track-config-files

Conversation

@GuillaumeGomez
Copy link
Copy Markdown
Collaborator

Fixes #383.

@GuillaumeGomez GuillaumeGomez requested a review from Kijewski March 31, 2025 20:42
@Kijewski
Copy link
Copy Markdown
Member

Kijewski commented Apr 1, 2025

Thank you for immediately springing into action! :)

I moved the config path into Config itself instead of its key, I think it's a better fit. And I added a test.

@Kijewski Kijewski force-pushed the track-config-files branch from 460adcc to 373d319 Compare April 1, 2025 06:32
@Kijewski Kijewski force-pushed the track-config-files branch from 373d319 to dabb537 Compare April 1, 2025 06:33
@GuillaumeGomez
Copy link
Copy Markdown
Collaborator Author

This was my very first implementation. 🤣

I didn't put it into Config because I thought it made more sense to have it into ConfigKey. But either way is fine for me.

}

#[test]
fn test_with_config() {
Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Completely forgot to add a test, thanks!

@GuillaumeGomez
Copy link
Copy Markdown
Collaborator Author

Thanks for the missing bits!

@GuillaumeGomez GuillaumeGomez merged commit 6e987eb into askama-rs:master Apr 1, 2025
41 checks passed
@GuillaumeGomez GuillaumeGomez deleted the track-config-files branch April 1, 2025 09:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Configuration file should be tracked

2 participants