Skip to content
This repository was archived by the owner on Nov 8, 2022. It is now read-only.
This repository was archived by the owner on Nov 8, 2022. It is now read-only.

use macro to reduce boilerplate code #43

Description

@mydearxym

some code like

field :paged_posts, :paged_posts do
    arg(:filter, non_null(:paged_article_filter))
    
    middleware(M.PageSizeProof)
    resolve(&Resolvers.CMS.paged_posts/3)
    middleware(M.FormatPagination)
end

some file like
page_post_test

has lots of boilerplate code with job, video, repo ... should use macro to reduce it

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions