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

@mydearxym

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

Metadata

Metadata

Assignees

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