profile
viewpoint
If you are wondering where the data of this site comes from, please visit https://api.github.com/users/benwilson512/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.
Ben Wilson benwilson512 Baltimore, MD

akira/exq 1263

Job processing library for Elixir - compatible with Resque / Sidekiq

benwilson512/ar-transmogrifier 6

Convert your ActiveRecord schema.rb into Ecto Models.

benwilson512/awesome-elixir 1

A curated list of amazingly awesome Elixir and Erlang libraries, resources and shiny things. Updates:

benwilson512/absinthe_benchmark 0

super basic code to profile absinthe with

benwilson512/amnesia 0

Mnesia wrapper for Elixir.

benwilson512/apollo-tracing-elixir 0

Apollo Tracing middleware for Absinthe

pull request commentabsinthe-graphql/absinthe

Support open ended scalars

Yes, this will be supported.

kdawgwilk

comment created time in 3 days

push eventabsinthe-graphql/absinthe

srfsh

commit sha bdb0531aed1f0336a6844a63b43095acd0777277

Fix typos in the documentation (#1101)

view details

push time in 8 days

pull request commentabsinthe-graphql/absinthe

Fix typos in the documentation

Thanks!

srfsh

comment created time in 8 days

issue commentabsinthe-graphql/absinthe_phoenix

Pubsub not configured Error

Has anyone been able to reproduce this issue in a locally running application? That might simplify testing any proposed fixes here.

maennchen

comment created time in 9 days

pull request commentabsinthe-graphql/absinthe

Use makeup_graphql to get GraphQL syntax highlighting in docs

Thank you!

Billzabob

comment created time in 14 days

push eventabsinthe-graphql/absinthe

Billzabob

commit sha 50bbaae409c6c67e69c69a6cf1d28427c00ed897

Use makeup_graphql to get GraphQL syntax highlighting in docs (#1099) Co-authored-by: Nick Hallstrom <nick.hallstrom@divvypay.com>

view details

push time in 14 days

PR merged absinthe-graphql/absinthe

Use makeup_graphql to get GraphQL syntax highlighting in docs

Docs before: Screen Shot 2021-09-01 at 11 26 44 AM

Docs after: Screen Shot 2021-09-01 at 11 26 04 AM

+5 -3

4 comments

2 changed files

Billzabob

pr closed time in 14 days

issue closedabsinthe-graphql/absinthe

Unable to conditionally define an enum value

Environment

  • Elixir version:
Erlang/OTP 24 [erts-12.0.3] [source] [64-bit] [smp:6:6] [ds:6:6:10] [async-threads:1] [jit]

Elixir 1.12.2 (compiled with Erlang/OTP 22)
  • Absinthe version: 1.6.4

Expected behavior

I tried to define an enum value, that is only available during testing, but I was also able to use it during development.

Actual behavior

The enum value was available during development

Relevant Schema/Middleware Code

enum :social_media do
  value :google
  value :facebook
  value :twitter
  value :linkedin

  if Mix.env() == :test do
    value :mock
  end
end

closed time in 14 days

Awlexus

issue commentabsinthe-graphql/absinthe

Unable to conditionally define an enum value

This isn't really possible for us to support as written. Your best bet is to do:

if Mix.env() == :test do
  enum :social_media do
    value :google
    value :facebook
    value :twitter
    value :linkedin
    value :mock
  end
else
  enum :social_media do
    value :google
    value :facebook
    value :twitter
    value :linkedin
  end
end

Or you can use a pipeline modifier: https://hexdocs.pm/absinthe/Absinthe.Schema.html#module-custom-schema-manipulation-in-progress

Awlexus

comment created time in 14 days

pull request commentabsinthe-graphql/absinthe

Use makeup_graphql to get GraphQL syntax highlighting in docs

Very cool! What remains to take this beyond draft?

Billzabob

comment created time in 16 days

pull request commentabsinthe-graphql/absinthe_phoenix

allow Phoenix.HTML 3.0

v2.0.2 has been published.

woylie

comment created time in 16 days

created tagabsinthe-graphql/absinthe_phoenix

tagv2.0.2

created time in 16 days

push eventabsinthe-graphql/absinthe_phoenix

Ben Wilson

commit sha 2fcf0631e568887d46a0e778dcc9cc05897ecae2

version bump

view details

push time in 16 days

pull request commentabsinthe-graphql/absinthe

Add failing test for macro deprecated field in SDL render

@ymtszw that forum post is out of date. Absinthe does support calling directives in SDL.

see: https://github.com/absinthe-graphql/absinthe/blob/master/test/absinthe/schema/notation/experimental/import_sdl_test.exs#L567-L592

maartenvanvliet

comment created time in 24 days

push eventabsinthe-graphql/dataloader

Brian Muller

commit sha 7900c19927ca262036ce7664e1afbd6c8dbf8ec3

Update telemetry dependency to stable ~> 1.0

view details

Ben Wilson

commit sha e58892454dfe59e4f229b11f2ed8c9b9c704c4ac

Update mix.exs

view details

Ben Wilson

commit sha 91db9e4f3cb8e3b375c997d83e4b1f57f97e3bf7

Merge pull request #132 from bmuller/update-telemetry-dependency Update telemetry dependency to stable ~> 1.0

view details

push time in 24 days

PR merged absinthe-graphql/dataloader

Update telemetry dependency to stable ~> 1.0

There were no changes in the Telemetry 1.0.0 release - but it does represent the first "stable" version of the API.

+2 -2

0 comment

2 changed files

bmuller

pr closed time in 24 days

push eventbmuller/dataloader

Ben Wilson

commit sha e58892454dfe59e4f229b11f2ed8c9b9c704c4ac

Update mix.exs

view details

push time in 24 days

PullRequestReviewEvent

Pull request review commentabsinthe-graphql/dataloader

Update telemetry dependency to stable ~> 1.0

 defmodule Dataloader.Mixfile do    defp deps do     [-      {:telemetry, "~> 0.4"},+      {:telemetry, "~> 1.0"},
      {:telemetry, "~> 1.0 or ~> 0.4"},
bmuller

comment created time in 24 days

PullRequestReviewEvent

issue closedabsinthe-graphql/dataloader

New release planned?

Hi all,

we were just wondering if a new release is planned that includes all features and fixes that have been merged since 1.0.8 from August 2020. We rely on some of our contributions and others and I'd be great to have a specific version locked again instead of pointing to master.

Thanks!

closed time in a month

follmann

issue commentabsinthe-graphql/dataloader

New release planned?

Done.

follmann

comment created time in a month

created tagabsinthe-graphql/dataloader

tagv1.0.9

DataLoader for Elixir

created time in a month

push eventabsinthe-graphql/dataloader

Ben Wilson

commit sha a515f322513b6489171d4064c253a9ea11d946f3

mix version fixes

view details

push time in a month

push eventabsinthe-graphql/dataloader

Ben Wilson

commit sha 2e010dbb900ecfcc9f546b52df53650c8212525e

doc update

view details

push time in a month

push eventabsinthe-graphql/dataloader

Ben Wilson

commit sha 0cbaf0ab0a6f508b286c4913f2a6ba9e32ca3e58

version bump

view details

push time in a month

Pull request review commentabsinthe-graphql/dataloader

Fix Ecto sandbox when using Ecto.Multi

+defmodule Dataloader.Ecto.MultiSyncTest do+  use ExUnit.Case, async: false++  alias Dataloader.User+  alias Dataloader.TestRepo, as: Repo++  setup do+    :ok = Ecto.Adapters.SQL.Sandbox.checkout(Repo)+    :ok = Ecto.Adapters.SQL.Sandbox.mode(Repo, {:shared, self()})++    test_pid = self()++    source =+      Dataloader.Ecto.new(+        Repo,+        query: &query(&1, &2, test_pid)+      )++    loader =+      Dataloader.new()+      |> Dataloader.add_source(Test, source)++    {:ok, loader: loader}+  end++  defp query(schema, _params, test_pid) do+    send(test_pid, :querying)++    schema+  end++  test "loads data", %{loader: loader} do+    user =+      %User{username: "Ben Wilson"}+      |> Repo.insert!()++    result =+      Ecto.Multi.new()+      |> Ecto.Multi.run(:loader, fn _, _ ->+        loader+        |> Dataloader.load(Test, User, user.id)+        |> Dataloader.run()

All of the errors actually show that the error is that this isn't returning an :ok tuple. If you fix that issue do the other issues persist?

arnodirlam

comment created time in a month

PullRequestReviewEvent
PullRequestReviewEvent