Skip to content

Unify LyricistConfig and common processor things#36

Open
devnatan wants to merge 4 commits into
mainfrom
refactor/base-processor-and-config
Open

Unify LyricistConfig and common processor things#36
devnatan wants to merge 4 commits into
mainfrom
refactor/base-processor-and-config

Conversation

@devnatan
Copy link
Copy Markdown
Collaborator

@devnatan devnatan commented Nov 29, 2023

Creates a base version of the processor and its configurations in order to simplify the creation of new implementations such as #27, reduce duplicated code between them and unify error handling and other treatments.

File-based like XML, upcoming JSON and #27 (.properties) will use the same configuration keys and XML-specific ones will be marked as deprecated.

Processors are resolved by classpath resolution following the " cafe.adriel.lyricist.processor.internal.Lyricist[...]SymbolProcessor" class name pattern

Deprecated properties will be shown as KSP warning

w: [ksp] Lyricist KSP argument "lyricist.xml.defaultLanguageTag" is deprecated, use "lyricist.defaultLanguageTag" instead.

Test it by running all samples.
Everything must work exactly like now after that.

@devnatan devnatan added the codegen Code generation capatibility related issue label Nov 29, 2023
@devnatan devnatan requested a review from adrielcafe November 29, 2023 17:14
@devnatan devnatan self-assigned this Nov 29, 2023
@devnatan devnatan requested a review from DevSrSouza November 29, 2023 17:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

codegen Code generation capatibility related issue

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant