profile
viewpoint
If you are wondering where the data of this site comes from, please visit https://api.github.com/users/ynonp/events. GitMemory does not store any data, but only uses NGINX to cache data for a period of time. The idea behind GitMemory is simply to give users a better reading experience.

ynonp/Adv-Perl-Examples 4

Examples & Solutions for the advanced perl class

ynonp/basic-perl-examples 2

Class examples for basic perl class

ynonp/catalyst-talk-examples 2

Catalyst code examples from my talk at Israel.pm (29/1/14)

tocodeil/react-course-examples 1

React course examples

vvvmax/github-rtl-chrome-extension 1

Add a button to google chrome to turn GitHub preview and editor to RTL.

ynonp/Basic-Perl-July-24 1

Code examples for the July24 Basic Perl Course

ynonp/capybara-rspec-demo 1

A sample repo showing how to test external website with capybara and rspec

itamardavidyan/fullstack-website 0

webinar - deploy fullstack website with Heroku and mLab

tocodeil/cppqt-course-examples 0

Course examples for ToCode C++/Qt Course

create barnchynonp/playing-with-bramble

branch : main

created branch time in 18 days

created repositoryynonp/playing-with-bramble

a demo bramble project

created time in 18 days

issue openedmovio/bramble

Fill type data from multiple services

Hi Bramble,

Working with shared types, I was able to get multiple services to fill the same type when it's in the root query, but could not get this to work when the object is in an inner query.

For example assume I have a "tasks" service and a "profiles" service, and each task can have an "owner" field which is a Profile. Given the following schema for tasks:

directive @boundary on OBJECT | FIELD_DEFINITION

type Query {
  tasks(done: Boolean): [Task]
  task(id: String): Task
  service: Service!
  tasks__profile(id: ID!): Profile @boundary
}

type Profile @boundary {
  id: ID!
}

type Task {
  _id: String
  text: String
  done: Boolean
  owner: Profile
}

type Service {
  name: String! # unique name for the service
  version: String! # any string
  schema: String! # the full schema for the service
}

And this schema for a Profile service:

directive @boundary on OBJECT | FIELD_DEFINITION

type Query {
  service: Service!
  profile(id: ID!): Profile @boundary
  someone: Profile
}

type Profile @boundary {
  id: ID!
  first_name: String
  last_name: String
}

type Service {
  name: String! # unique name for the service
  version: String! # any string
  schema: String! # the full schema for the service
}

I have no problem using the someone query to get a profile and fill its fields from both services, but when I try to read the tasks and data about their owners such as:

query {
  tasks {
    text
    owner {
       id
       first_name
    }
  }
}

I will get just "null" as the result data.

If I remove first_name field from the query everything will work and I will get the correct id of the owner, so I assume tasks service works ok.

Is there a way to get bramble gateway to fill inner owner query from a different service?

created time in 18 days

create barnchynonp/express-graphql-demo

branch : main

created branch time in a month

created repositoryynonp/express-graphql-demo

A demo project for GraphQL Server + knex

created time in a month

fork ynonp/vimium

The hacker's browser.

fork in a month

issue openednadimkobeissi/appleprivacyletter

Ynon Perek

Name

Ynon Perek

Affiliation

No response

URL of your Website/Twitter/etc.

No response

  • [ ] I am signing as an organization.

created time in 2 months

push eventtocodeil/react2020-course-examples

ynonp

commit sha e640b4f717dfc660f32f51887fb38b8e178235d2

upgraded dependencies

view details

push time in 3 months

PR opened elcuco/crash-node-server

add some comments
+52 -26

0 comment

1 changed file

pr created time in 3 months

push eventynonp/crash-node-server

ynonp

commit sha 1f55bc088cfbb098c1c034cc69723c046d5f784c

add some comments

view details

push time in 3 months

push eventynonp/treeviewexample

ynonp

commit sha 964b9375537a843d37da0534610dcc44d0c96e0e

Initial commit

view details

push time in 3 months

create barnchynonp/treeviewexample

branch : main

created branch time in 3 months

created repositoryynonp/treeviewexample

Created with CodeSandbox

created time in 3 months