Skip to content

fix(feedgen): initialize pinned_post_uri in test configs#198

Open
Lawhacknifemi wants to merge 2 commits into
blacksky-algorithms:mainfrom
Lawhacknifemi:fix/feedgen-test-compile
Open

fix(feedgen): initialize pinned_post_uri in test configs#198
Lawhacknifemi wants to merge 2 commits into
blacksky-algorithms:mainfrom
Lawhacknifemi:fix/feedgen-test-compile

Conversation

@Lawhacknifemi

Copy link
Copy Markdown

Summary

Fixes E0063 compiler errors in the rsky-feedgen test suite.

The pinned_post_uri field was added to the FeedGenConfig struct in commit 2209a00 to support pinned post rendering. However, the five FeedGenConfig struct initializers inside the unit tests (located in rsky-feedgen/src/apis/mod.rs) were not updated to define this new field, causing compilation to fail.

This PR initializes the pinned_post_uri field with an empty string ("".to_string()) in all five test config initializations, restoring compilation capability while keeping the original test conditions intact.

Related Issues

Fixes local test suite compilation failure.

Changes

  • Feature implementation
  • Bug fix
  • Documentation update
  • Other (please specify):

Checklist

  • I have tested the changes (including writing unit tests).
  • I confirm that my implementation aligns with the canonical Typescript implementation and/or atproto spec
  • I have updated relevant documentation.
  • I have formatted my code correctly
  • I have provided examples for how this code works or will be used

@Lawhacknifemi

Copy link
Copy Markdown
Author

@rudyfraser Hey ruddy , do you mind reviewoing this pr

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.

1 participant