Skip to content
This repository was archived by the owner on Aug 26, 2021. It is now read-only.
This repository was archived by the owner on Aug 26, 2021. It is now read-only.

why not use a map for class->adapter mapping #180

@pouloghost

Description

@pouloghost

Issue Summary

why not use a map for class->adapter mapping. currently is using a complicated package-> index-> subFactory-> if-else logic, which is neither efficient nor easy to understand.

Expected Behavior

just generate a map<Class, TypeAdapter> which will be extremely easy to debug and read

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions