Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: direct access to pgboss instance #12

Merged
merged 2 commits into from
Sep 8, 2024

Conversation

samaratungajs
Copy link
Collaborator

@samaratungajs samaratungajs commented Sep 8, 2024

Fix: #11
Direct access to PgBoss instance

@@ -5,7 +5,10 @@ import { PGBOSS_TOKEN } from "./utils/consts";

@Injectable()
export class PgBossService {
constructor(@Inject(PGBOSS_TOKEN) private readonly boss: PgBoss) {}
public boss: PgBoss;
Copy link
Contributor

Choose a reason for hiding this comment

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

Lets make this private and provide access via a getter

@kasvith kasvith merged commit 2c0c97a into main Sep 8, 2024
2 checks passed
@kasvith kasvith deleted the fix/samaratungajs/access-pgboss branch September 8, 2024 17:50
@kasvith
Copy link
Contributor

kasvith commented Sep 8, 2024

Lets release a minor version 2.2.0

@samaratungajs
Copy link
Collaborator Author

Done #13

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.

Direct access to pgboss
2 participants