GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - atul-github/loopback-graphql-ext: loopback graphql extension

BranchesTags
Open more actions menu

Latest commit

 

History

34 Commits
34 Commits

Folders and files

NameName
Last commit message
Last commit date
lib
lib
 
 
CONTRIBUTING.md
CONTRIBUTING.md
 
 
EXAMPLE.md
EXAMPLE.md
 
 
LICENSE
LICENSE
 
 
README.md
README.md
 
 
index.js
index.js
 
 
package.json
package.json
 
 

Repository files navigation

loopback-graphql-ext (WIP)

Executing queries on loopback models using GraphQL. This gives you intellisense while forming queries in GraphiQL. See Sample Project

Installation

npm install loopback-graphql-ext

  • Call init() before application starts (AND after loopback boot is over)
var app = loopback();
.... some other code
var graphqlExt = require('loopback-graphql-ext');
graphqlExt.init(app); //app is loopback application
  • Start loopback application as you usually do
  • Access GraphQL end point on
http://localhost:3000/graphiql

What works so far

  • where filter
  • fields filter
  • Limit filter
  • Skip filter
  • Order filter

Refer to Examples. It is implemented in loopback sample project

Limitations

  • gt/gte/lt/lte/inq etc operators becomes 'keywords' and cannot be part of model property
  • Major problem I am facing is to implement flexibility when object can be a string or array. Eg include, order etc

Upcoming Features

  • Making it component so you don't have to initialize from code
  • Include filter
  • Mutation
  • Date type support
  • Authentication/Authorization using Access Token

About

loopback graphql extension

Resources

Readme
MIT license

Contributing

Contributing
Activity

Stars

0 stars

Watchers

1 watching

Forks

0 forks
Report repository

Releases

Packages

Used by

Contributors

Languages

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.