• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

trevorwang / retrofit.dart / 18817995312
94%

Build:
DEFAULT BRANCH: master
Ran 26 Oct 2025 12:35PM UTC
Jobs 1
Files 3
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

26 Oct 2025 12:34PM UTC coverage: 97.059%. Remained the same
18817995312

push

github

web-flow
Fix code generation for methods with bare generic type parameters (#832)

* Initial plan

* Add support for bare type parameters in API methods

- Detect TypeParameterType in return types
- Generate code that casts data to type parameter instead of calling fromJson
- Add warning message directing users to proper generic type handling
- Add test cases for bare type parameters (nullable and non-nullable)
- Fix _setStreamType to preserve nullability in type parameters

Co-authored-by: trevorwang <121966+trevorwang@users.noreply.github.com>

* Add example demonstrating generic type parameter support

- Add getGeneric<T> and getGenericNullable<T> methods to example
- Verify generated code correctly casts to type parameter
- Add documentation explaining when to use bare type parameters vs wrapper classes
- Confirm warnings are shown during code generation

Co-authored-by: trevorwang <121966+trevorwang@users.noreply.github.com>

* Fix formatting in example code

Co-authored-by: trevorwang <121966+trevorwang@users.noreply.github.com>

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: trevorwang <121966+trevorwang@users.noreply.github.com>

33 of 34 relevant lines covered (97.06%)

1.18 hits per line

Jobs
ID Job ID Ran Files Coverage
1 18817995312.1 26 Oct 2025 12:35PM UTC 3
97.06
GitHub Action Run
Source Files on build 18817995312
  • Tree
  • List 3
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #18817995312
  • dc86e94c on github
  • Prev Build on master (#18812188281)
  • Next Build on master (#18818002791)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc