Skip to content

Split this package up in a set of modular packages #209

Open
@WyriHaximus

Description

@WyriHaximus

This toot got my thinking: https://toot-toot.wyrihaxim.us/@thepanz@phpc.social/111439133427970079

This package is current playing several roles:

  • The client generator
  • Spec parser and putting it into an easier to use representation
  • Generates webhook parses for a REST client ????

By splitting it up into the following packages:

  • Generator
  • Representation layer
  • Spec parser
  • WebHook PSR-15 middleware generator
  • REST Client generator

And give the generator a pluggable design so that you can mix and match what you need. Maybe even generator the GitHub REST client and the PSR-15 WebHook middleware in one go for two separate packages. Or just the Schema classes without any specific object hydrator preferences in them. Parts of this can already be done. Yanking out the Representation layer is quick and easy, so is the spec parser. But building a modular pluggable generator is going to be the harder part and I need more then just my personal requirements for it. Any feed back on this is appreciated!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions