public PokemonType(ISpecieRepository specieRepository) { Field(a => a.Id, type: typeof(IntGraphType)); Field(a => a.SpeciesId, type: typeof(IntGraphType)); Field(a => a.Identifier); Field <SpecieType>( "Evolvution", resolve: context => specieRepository.GetEvolution(context.Source.SpeciesId) ); }