GraphQL-FHIR: Does Apollo use Webpack by default?

Hi there,
Quick question… does the default build pipeline of Apollo use Webpack or Meteor? Or is it simply agnostic to the build pipeline?

I ask, because I just got clued into a FHIR implementation using apollo-client and webpack and babel. The usage of FHIR and apollo-client is fantastic; and I’m trying to get up to speed with how drastically different the build pipeline is.

Thanks!

Yeah, it doesn’t depend on the build pipeline at all. Works just as well with webpack/meteor/rollup/typescript/babel/etc.

Would you mind taking a quick look at this package.json file, and let me know your opinion on it?

My general take on it is:

  • happy to see apollo-client and react-apollo :slight_smile:
  • babel-preset-es2017 seems like it might be a bit bleeding edge :confused:
  • express seems like it’s a move backwards, no? :confused:
  • I’d have liked to have seen apollographql/graphql-server instead of graphql-server-express :confused:
  • webpack requires different tooling chain :frowning:
  • mongoose instead of node-simple-schema :frowning:

Does that seem like a reasonable take on this project? I ask, because this is a serious attempt at getting the Fast Healthcare Interoperability Resource (HL7 FHIR) standard moved over to GraphQL. Epic and Cerner both support FHIR, and FHIR is quickly becoming the emerging interoperability standard in healthcare. So, this would be a move towards getting onto Apollo, and including SQL database connectivity.

I’m trying to decide whether to invest heavy in this package, and how to integrate it into the Clinical Meteor project. But will that mean moving it over to apollographql/graphql-server? Swapping out Webpack for the Meteor build pipeline? Replacing the mongoose driver?

We could use it in production as-is. But there will be a lot of value in aligning it with the rest of the Clinical Meteor stack. And I’m not sure how much to move this GraphQL-FHIR project towards Clinical Meteor; versus moving Clinical Meteor towards GraphQL-FHIR. Thoughts?

That’s actually the Apollo provided one!

Oh, that’s fantastic news! :slight_smile:

So, it seems like the primary considerations are:

a) using mongoose, and whether we want to reuse SimpleSchema on the server as we access Mongo from Apollo and vice versa.

b) which build pipeline we want to use; and whether we can pull GraphQL-FHIR code directly into other Meteor on FHIR apps.

Thanks for the feedback.