Add CompilerPlugin to Platform model and update filters#1623
Open
vidishagawas121 wants to merge 4 commits into
Open
Add CompilerPlugin to Platform model and update filters#1623vidishagawas121 wants to merge 4 commits into
vidishagawas121 wants to merge 4 commits into
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description (for GitHub PR body):
🧩 Summary
This PR introduces the new CompilerPlugin platform type in Scaladex’s data model.
It prepares the backend for indexing and filtering compiler plugin artifacts such as org.typelevel:kind-projector_2.13.16:0.13.3.
🔧 Changes
Added CompilerPlugin case object to the Platform enum (Platform.scala).
Updated Platform.all and filter mappings to include "compiler-plugin".
Adjusted endpoints and JSON schema definitions to recognize the new platform.
No SQL schema updates required — platforms are stored as string values.
🧪 Testing
Verified backend compilation and existing tests pass with sbt test.
Confirmed that all platform-based endpoints serialize/deserialize correctly.
No behavioral changes to existing platforms.
🧭 Next Steps
Follow-up PRs will:
Add indexing logic for compiler plugin artifacts.
Extend UI to display compiler plugins on front/search/project pages.
Add end-to-end tests and documentation.
🧑💻 Related Issue
Part of scalacenter/scaladex#865