Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create Serverless exemples and template configuration #123

Open
wants to merge 46 commits into
base: main
Choose a base branch
from

Conversation

m7vicente
Copy link
Contributor

Added serverless and serverless offline suport for templete

Create handler for each usecase and especifications on yml.

@dalssoft
Copy link
Member

dalssoft commented Jun 6, 2022

Great PR!!!

Suggestion: there is a clear pattern for handlers. A quick refactoring would reduce the number of files drastically.

Also, all the strings / messages must be in english.

@codecov
Copy link

codecov bot commented Jun 6, 2022

Codecov Report

❗ No coverage uploaded for pull request base (main@1c65b1a). Click here to learn what that means.
The diff coverage is n/a.

❗ Current head ff45b3e differs from pull request most recent head cba5311. Consider uploading reports for the commit cba5311 to get more accurate results

@@           Coverage Diff           @@
##             main     #123   +/-   ##
=======================================
  Coverage        ?   98.67%           
=======================================
  Files           ?       15           
  Lines           ?      226           
  Branches        ?        0           
=======================================
  Hits            ?      223           
  Misses          ?        3           
  Partials        ?        0           

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

@dalssoft
Copy link
Member

dalssoft commented Jun 7, 2022

Great refactoring!

Now that you have much simple handler files it is clear they are not needed, given you could use herbs metadata to create this handlers on the fly, without need to have all these files, pretty much like herbs2rest or herbs2gql.

@jhomarolo
Copy link
Contributor

Awesome PR @m7vicente!

@italojs
Copy link
Member

italojs commented Jun 7, 2022

Remember to add it inside the out CLI :)
we have an old issue about it there

@italojs
Copy link
Member

italojs commented Aug 23, 2022

It will be a big thing for the HerbsJS mature @m7vicente
we will bring the framework for a new level with your work from this PR

@m7vicente m7vicente marked this pull request as ready for review August 30, 2022 00:47
body: JSON.stringify(ucResult.ok),
}

if (ucResult.err === 'Not Authorized')
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

src/infra/repl/index.js Outdated Show resolved Hide resolved
src/infra/api/graphql/custom/createItem.js Outdated Show resolved Hide resolved
@italojs
Copy link
Member

italojs commented Sep 19, 2022

linter inst this PR proposal, please, make a change only is necessary for scope of this PR
we could implement the linter in other PR
this way is easier to fix any problem caused by linter

@jhomarolo
Copy link
Contributor

@m7vicente Is something missing or is it just a final review?

@m7vicente-vortx
Copy link
Contributor

m7vicente-vortx commented Oct 11, 2022

@m7vicente Is something missing or is it just a final review?

All requested changes has been completed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants