bluelinelabs / bluelinelabs/LoganSquare

Automatic registration of type converters

Open
#103 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
3.2k
Forks
303
PR merge metrics
No merged PRs in 30d

Description

I have an annotation processor that finds type conversions and generates the code for registering them into LoganSquare automatically. The processor works by finding instances of TypeConverter that have a @TypeConversion annotation, or JsonObjects that define a conversion into model objects by implementing a ModelObjectProvider or ModelBuilderProvider interface. It would be useful to have this functionality directly built in into LoganSquare!

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reviewing LoganSquare's existing registration flow and how it handles TypeConverter, ModelObjectProvider, and ModelBuilderProvider implementations. Compare that behavior with the annotation processor described in the issue. Done means LoganSquare automatically discovers the annotated converters and provider-based conversions without requiring generated registration code.

Written by the indexing model from the issue text.

Assessment

Tech stack
android, java
Domain
mobile-dev
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.