Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Digital Transformation and Modernization with IBM API Connect

You're reading from   Digital Transformation and Modernization with IBM API Connect A practical guide to developing, deploying, and managing high-performance and secure hybrid-cloud APIs

Arrow left icon
Product type Paperback
Published in Jan 2022
Publisher Packt
ISBN-13 9781801070799
Length 588 pages
Edition 1st Edition
Tools
Arrow right icon
Authors (3):
Arrow left icon
Bryon Kataoka Bryon Kataoka
Author Profile Icon Bryon Kataoka
Bryon Kataoka
James Brennan James Brennan
Author Profile Icon James Brennan
James Brennan
Ashish Aggarwal Ashish Aggarwal
Author Profile Icon Ashish Aggarwal
Ashish Aggarwal
Arrow right icon
View More author details
Toc

Table of Contents (21) Chapters Close

Preface 1. Section 1: Digital Transformation and API Connect
2. Chapter 1: Digital Transformation and Modernization with API Connect FREE CHAPTER 3. Chapter 2: Introducing API Connect 4. Chapter 3: Setting Up and Getting Organized 5. Section 2: Agility in Development
6. Chapter 4: API Creation 7. Chapter 5: Modernizing SOAP Services 8. Chapter 6: Supporting FHIR REST Services 9. Chapter 7: Securing APIs 10. Chapter 8: Message Transformations 11. Chapter 9: Building a GraphQL API 12. Chapter 10: Publishing Options 13. Chapter 11: API Management and Governance 14. Chapter 12: User-Defined Policies 15. Section 3: DevOps Pipelines and What's Next
16. Chapter 13: Using Test and Monitor for Unit Tests 17. Chapter 14: Building Pipelines for API Connect 18. Chapter 15: API Analytics and the Developer Portal 19. Chapter 16: What's Next in Digital Transformation Post-COVID? 20. Other Books You May Enjoy

Removing fields from GraphQL

Since you know that the GraphQL fields are developed on backend systems by developers, you might find out that some fields that are presented may not be allowed due to compliance and security reasons. An example would be social security numbers or certain patient history information. This poses a challenge for API developers because they know they need to obfuscate the fields in some way. API Connect provides you with a simple way to ensure that access to fields aren't allowed to the consumers. You can do this by removing the fields in GraphQL Schema.

To see how this can be accomplished, perform the following steps:

  1. Navigate to any GraphQL API and click on GraphQL Schema. You will see a Show/hide column where there is a gear icon next to the field. Refer to the following screenshot:

    Figure 9.23 – Removing a field using Show/hide

  2. By clicking on the gear icon, you can remove the field from the fields presented to the API developer...
lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime
Banner background image