Skip to content

Cover warehouse factory extension no-block paths#1260

Draft
jwils wants to merge 1 commit into
mainfrom
joshuaw/warehouse-factory-extension-coverage
Draft

Cover warehouse factory extension no-block paths#1260
jwils wants to merge 1 commit into
mainfrom
joshuaw/warehouse-factory-extension-coverage

Conversation

@jwils

@jwils jwils commented Jun 16, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • Remove :nocov: exclusions around optional-yield guards in the warehouse factory extension.
  • Add focused unit coverage for schema elements created without customization blocks.

Validation

  • script/lint
  • script/type_check
  • script/run_gem_specs elasticgraph-warehouse

@jwils jwils force-pushed the joshuaw/warehouse-factory-extension-coverage branch from 6ca2220 to eb3b8fe Compare June 16, 2026 22:54
expect(api.state.object_types_by_name.fetch("SearchResult")).to be_a(ObjectInterfaceAndUnionExtension)
end

def build_api

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You shouldn't need this since you're using include_context "SchemaDefinitionHelpers" -- just use define_schema.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants