Skip to content

"Method not visible": btcdev namespace public access modifiers issue #14

@wrt83

Description

@wrt83

Describe the bug
When utilizing the namespaces unlocked package, the CRUD methods are not visible.

To Reproduce
Install 2.0.0 unlocked package with btcdev namespace and run the following:

Account account = [SELECT Id, Name FROM Account LIMIT 1];
account.Name = 'Updated Name';

new btcnamespace.DML()
    .toUpdate(account)
    .commitWork();

Apex will throw a "Method not visible" error. This applies to all methods currently utilizing the public method access modifier.

Expected behavior
Account name updates without error.

Additional context
Perhaps there is an alternative mechanism we should be using?

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions