RUN THE FOLLOWING IN WSL and in Windows
test dns resolution for default
nslookup www.google.com
test dns resolution using public dns
| openapi: 3.0.0 | |
| info: | |
| title: Simpleview Apex GraphQL API | |
| description: API for interacting with Simpleview Apex data via GraphQL. | |
| version: 1.0.0 | |
| servers: | |
| - url: https://graph.dev.simpleviewdms.dev | |
| description: Simpleview Apex GraphQL endpoint | |
| paths: | |
| /client/test/graph/contacts_insert/: |
| FROM node:14.16.0 | |
| WORKDIR /app | |
| COPY . /app |
| <cffunction name="cleanEmails"> | |
| <cfargument name="toStr"> | |
| <cfset local.tempArr = ListToArray(arguments.toStr)> | |
| <cfset local.newArr = []> | |
| <cfloop array="#local.tempArr#" index="local.email"> | |
| <cfset ArrayAppend(local.newArr, trim(lcase(local.email)))> | |
| </cfloop> |
| const mongolayer = require("mongolayer"); | |
| async function findDraft(civid) { | |
| } | |
| async function findNav(civid) { | |
| const contentResult = await findContent(civid); | |
| const result = await site.plugins.nav.apis.navItemVersions.promises.aggregate([ | |
| { |
Currently our graphql filters only support exact matches { acct_id : "5" }, or { name : "x" }.
I'm adding the feature to expose mongodb advanced filtering mechanics $exists, $gt, $lt, $regex etc. What should the syntax be for adding advanced filters in a way that we can add them to all of our find() endpoints.
standard filtering in graphql and prefix
{
auth {
products(filter: { url : "http://url.is/exactly/this" })
}
| const { HttpLink } = require("apollo-link-http"); | |
| const { ApolloLink } = require("apollo-link"); | |
| const { setContext } = require("apollo-link-context"); | |
| const { onError } = require("apollo-link-error"); | |
| const fetch = require("node-fetch"); | |
| const express = require("express"); | |
| const { introspectSchema, makeRemoteExecutableSchema, ApolloServer, gql, mergeSchemas } = require("apollo-server-express"); | |
| const { TypeInfo, GraphQLSchema } = require("graphql"); | |
| const assert = require("assert"); | |
| const lodash = require("lodash"); |
Right now most queries are
table(filter: {}, paging : { limit : x, skip : x })
Do we rename paging to options, and put sort inside?
users(filter: {}, options: { limit : x, skip : x, sort : x })
| const request = require("request"); | |
| const express = require("express"); | |
| const util = require("util"); | |
| const app = express(); | |
| const requestPromise = util.promisify(request); | |
| const timeoutPromise = util.promisify(setTimeout); | |
| const getImgUrl = function(hostname, comicId, cb) { | |
| request(`https://${hostname}/${comicId}/info.0.json`, function(err, resp, body) { |
| process { http_parser: '2.7.0', | |
| node: '7.10.0', | |
| v8: '5.5.372.43', | |
| uv: '1.11.0', | |
| zlib: '1.2.11', | |
| ares: '1.10.1-DEV', | |
| modules: '51', | |
| openssl: '1.0.2k', | |
| icu: '58.2', | |
| unicode: '9.0', |