Skip to content
This repository has been archived by the owner on Sep 6, 2021. It is now read-only.

Restructure Package Meta #68

Open
3 of 4 tasks
rayhanadev opened this issue Jun 17, 2021 · 4 comments
Open
3 of 4 tasks

Restructure Package Meta #68

rayhanadev opened this issue Jun 17, 2021 · 4 comments

Comments

@rayhanadev
Copy link
Collaborator

rayhanadev commented Jun 17, 2021

This issue correlates with the similar project. Tasks include:

  • Redesign the Custom Class to match up with the current design of API Classes
  • Implement lightfetch for HTTPS fetching (Upgrade Fetching to HTTPS #67)
  • Add helper functions to parse custom Objects to GraphQL querystrings
  • Rewrite all API Classes to dogfood the new Custom Class

This will be released as 2.4.x, a minor version and beta releases will be made under 2.4.0-beta.x. As always, help is appreciated!

Edit: I thought a table documenting the current progress might be useful (to me).

Key:

  • ✔️: Completed
  • ❌: Not Started
  • ✍️: In Progress
Class Name Status
Board ✔️
Comment ✍️
Explore ✔️
Leaderboard
Post
Repl
User

* Note: This chart discludes non-GraphQL related classes that won't be getting structural changes. The Login class has been (yet again) revamped in addition to usage of logged-in queries.

@rayhanadev

This comment has been minimized.

@rayhanadev
Copy link
Collaborator Author

rayhanadev commented Jun 18, 2021

Turned that hunk of code into a neat package: https://github.com/RayhanADev/gql-query-creator

@rayhanadev
Copy link
Collaborator Author

Rewrote the Board class with the new structure and it works beautifully!!!

@rayhanadev
Copy link
Collaborator Author

Publicly released [email protected] which should give some idea of what it feels out of source. I posted the package size here and there is a huge decrease in size (good!). Several classes work with the new structure.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant