Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Simplify the code for getting environment variables #99

Merged
merged 1 commit into from
Feb 24, 2025

Conversation

Smalls1652
Copy link
Owner

@Smalls1652 Smalls1652 commented Feb 24, 2025

Description

"Simplifies" the code for getting environment variable values for the FediProtoSyncConfig struct. I say "simplifies" because I've replaced it all with a macro. It just makes the code more readable without all of the repeated code.

Related issues

  • None

Stack

Adds a macro for getting environment variables with various options depending on the arguments provided. Should reduce the amount of repeated code.
@Smalls1652 Smalls1652 added the enhancement New feature or request label Feb 24, 2025
@Smalls1652 Smalls1652 self-assigned this Feb 24, 2025
@Smalls1652 Smalls1652 merged commit b7415c6 into main Feb 24, 2025
3 checks passed
@Smalls1652 Smalls1652 deleted the update/simplify-app-config-struct branch February 24, 2025 02:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant